01 Jul, 2015

1 commit


17 Jun, 2015

2 commits

  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
    ARM: dts: am437x-sk-evm: Reduce i2c0 bus speed for tps65218

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Based on the latest timing specifications for the TPS65218 from the data
    sheet, http://www.ti.com/lit/ds/symlink/tps65218.pdf, document SLDS206
    from November 2014, we must change the i2c bus speed to better fit within
    the minimum high SCL time required for proper i2c transfer.

    When running at 400khz, measurements show that SCL spends
    0.8125 uS/1.666 uS high/low which violates the requirement for minimum
    high period of SCL provided in datasheet Table 7.6 which is 1 uS.
    Switching to 100khz gives us 5 uS/5 uS high/low which both fall above
    the minimum given values for 100 khz, 4.0 uS/4.7 uS high/low.

    Without this patch occasionally a voltage set operation from the kernel
    will appear to have worked but the actual voltage reflected on the PMIC
    will not have updated, causing problems especially with cpufreq that may
    update to a higher OPP without actually raising the voltage on DCDC2,
    leading to a hang.

    Based on debug effort by Nishanth Menon, Felipe Balbi, Aparna
    Balasubramanian, Franklin Cooper, and Dave Gerlach.

    Signed-off-by: Dave Gerlach

    Dave Gerlach
     

30 May, 2015

3 commits

  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
    ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode
    regulator: tps65218: do not disable DCDC3 during poweroff on broken PMICs
    mfd: tps65218: add version check to the PMIC probe
    rtc: omap: fix ext-wakeup setup
    rtc: omap: do not disable RTC alarm during shutdown
    rtc: omap: setup the regulators for poweroff mode
    ARM: dts: am437x-gp-evm: disable DDR regulator in rtc-only/poweroff mode
    regulator: tps65218: force set power-up/down strobe to 3 for dcdc3
    regulator: of: setup initial suspend state
    ARM: dts: AM43xx: update regulator nodes for new layout
    regulator: of: Add support for parsing regulator_state for suspend state
    ARM: dts: dra7: add i810 errata dpll data
    ARM: DRA7: dpll: add implementation for errata i810

    Conflicts:
    arch/arm/common/edma.c
    arch/arm/mach-omap2/Makefile
    drivers/regulator/palmas-regulator.c
    include/dt-bindings/pinctrl/am43xx.h

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Without this, the memory will remain active during poweroff consuming
    extra power. Please note revision 2.1 PMIC seems to fail when DCDC3
    disable is attempted, so this is not done on that PMIC revision. The
    PMIC revision checks in the regulator patches make sure of this.

    Signed-off-by: Tero Kristo
    Signed-off-by: Dave Gerlach

    Tero Kristo
     
  • Upstream has support for regulator-state-mem, instead of the internal
    version of regulator-suspend-enable. Update the AM43xx DT nodes to
    support the upstream layout.

    Signed-off-by: Tero Kristo
    Signed-off-by: Dave Gerlach

    Tero Kristo
     

06 May, 2015

1 commit

  • …egration-tree/connectivity-ti-linux-kernel into ti-linux-3.14.y

    TI-Feature: connectivity
    TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
    TI-Branch: connectivity-ti-linux-3.14.y

    * 'connectivity-ti-linux-3.14.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel: (125 commits)
    usb: phy: mv-usb: fix usb_phy build errors
    tty: serial: 8250: omap: synchronize rx_running
    time: Export nsecs_to_jiffies()
    ti_config_fragments/connectivity.cfg: Enable USB_OTG and switch to EXTCON_USB_GPIO
    ARM: dts: am437x-sk-evm: Fix usb2_phy2 pinctrl
    ARM: dts: am43xx: Enable dual-role on USB1
    usb: dwc3: gadget: Fix suspend/resume during dual-role mode
    usb: dwc3: save/restore OTG registers during suspend/resume
    usb: dwc3: core: make dual-role work with OTG irq
    usb: dwc3: core.h: add some register definitions
    ARM: dts: dra7*-evm: Enable dual-role for usb1
    usb: dwc3: add dual-role support
    usb: otg: hub: Notify OTG fsm when A device sets b_hnp_enable
    usb: otg: Add dual-role device (DRD) support
    usb: udc-core: fix lock circular dependency on udc_lock
    usb: gadget: udc: adapt to OTG core
    usb: hcd: Adapt to OTG core
    usb: otg: add OTG core
    usb: gadget.h: Add OTG to gadget interface
    usb: hcd.h: Add OTG to HCD interface
    ...

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     

05 May, 2015

2 commits


04 May, 2015

1 commit


29 Apr, 2015

2 commits

  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
    ARM: dts: am437x-sk-evm: Add DCDC5 and DCDC6
    ARM: dts: am437x-gp-evm: Add regulator-suspend-enable for RTC DCDCs
    ARM: dts: am335x: Add rtc node as ti,system-power-controller

    Conflicts:
    arch/arm/boot/dts/am335x-evm.dts

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Add DCDC5 and DCDC6 to the tps65218 node for am437x-sk-evm and mark them
    with regulator-suspend-enable in order to allow use of RTC+DDR mode.

    Signed-off-by: Dave Gerlach

    Dave Gerlach
     

20 Apr, 2015

1 commit

  • …egration-tree/connectivity-ti-linux-kernel into ti-linux-3.14.y

    TI-Feature: connectivity
    TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
    TI-Branch: connectivity-ti-linux-3.14.y

    * 'connectivity-ti-linux-3.14.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
    usb: gadget: f_uac2: fix section mismatch warning
    ti_config_fragments/connectivity.cfg: Enable EDT FT5X06 Touchscreen as a module
    arm: boot: dts: am437x-sk: reduce col-scan-delay-us
    arm: boot: dts: am437x-sk: fix for new newhaven display module revision

    Signed-off-by: Texas Instruments Auto Merger <lcpd_integration@list.ti.com>

    Texas Instruments Auto Merger
     

17 Apr, 2015

2 commits

  • The new AM437x SK Beta boards have removed the
    large capacitors on the gpio-matrix column lines
    which means we can reduce col-scan-delay-us to 5us
    without loosing functionality.

    Signed-off-by: Felipe Balbi
    Tested-by: Franklin Cooper Jr.
    Signed-off-by: Sekhar Nori

    Felipe Balbi
     
  • AM437x Starter Kit uses a NewHaven Display module with
    a 4.3" display and EDT FT5306 touchscreen

    On that module's new revision, NewHave decided to change
    the pinout on the 6 pin flat-pcb touchscreen connector so
    that instead of having WAKE pin, we now have RESETn.

    The new display module is available on AM437x SK Beta and
    all new revisions while the older revision is only available
    on AM437x SK Alpha which, unfortunately, can't be supported
    anymore in mainline without a revert of this patch.

    Signed-off-by: Felipe Balbi
    Tested-by: Franklin Cooper Jr.
    Signed-off-by: Sekhar Nori

    Felipe Balbi
     

13 Apr, 2015

2 commits

  • commit d73f825e6efa723e81d9ffcc4949fe9f03f1df29 upstream.

    The lcd0 node for am437x-sk-evm.dts contains bad LCD timings, and while
    they seem to work with a quick test, doing for example blank/unblank
    will give you a black display.

    This patch updates the timings to the 'typical' values from the LCD spec
    sheet.

    Also, the compatible string is completely bogus, as
    "osddisplays,osd057T0559-34ts" is _not_ a 480x272 panel. The panel on
    the board is a newhaven one. Update the compatible string to reflect
    this. Note that this hasn't caused any issues, as the "panel-dpi"
    matches the driver.

    Cc: # v3.17+
    Tested-by: Felipe Balbi
    Signed-off-by: Tomi Valkeinen
    Signed-off-by: Tony Lindgren
    Signed-off-by: Jyri Sarha

    Tomi Valkeinen
     
  • commit 58230c2c443bc9801293f6535144d04ceaf731e0 upstream.

    Caused by a copy & paste error. Note that even with
    this bug AM437x SK display still works because GPIO
    mux mode is always enabled. It's still wrong to mux
    somebody else's pin.

    Luckily ball D25 (offset 0x238 - gpio5_8) on AM437x
    isn't used for anything.

    While at that, also replace a pullup with a pulldown
    as that gpio should be normally low, not high.

    Cc: # v3.17+
    Acked-by: Tomi Valkeinen
    Signed-off-by: Felipe Balbi
    Signed-off-by: Tony Lindgren
    Signed-off-by: Jyri Sarha

    Felipe Balbi
     

16 Dec, 2014

1 commit


10 Oct, 2014

2 commits

  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
    ARM: dts: AM43x-EPOS-EVM: Fix DCDC3 voltage
    ARM: dts: AM437x-GP-EVM: Fix DCDC3 voltage
    ARM: dts: AM437x-SK-EVM: Fix DCDC3 voltage

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • On older PMICs the reset value of the DCDC3 voltage was different.
    Fix DCDC3 volatge to 1.5V which is the right value to be supplied by
    DCDC3 for all the production boards(Version 1.4+).

    Tested-by: George Cherian
    Signed-off-by: Keerthy

    Keerthy
     

07 Oct, 2014

1 commit


02 Sep, 2014

1 commit

  • …-linux-feature-tree into ti-linux-3.14.y

    TI-Feature: power_management_base
    TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
    TI-Branch: pm-ti-linux-3.14.y

    * 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree: (36 commits)
    ARM: dts: am43xx: Add scale data fw to wkup_m3 node
    ARM: dts: am33xx: Add scale data fw to wkup_m3 node
    ARM: OMAP2: pm33xx: Provide i2c voltage scaling data to wkup_m3
    remoteproc: wkup_m3_rproc: Add device to rproc_ready callback
    remoteproc: wkup_m3_rproc: Introduce wkup_m3_copy_aux_data
    ARM: AM43xx: PM: disable DCOLDO DPLL PER force active to allow suspend
    ARM: AM43XX: PM: change RTC_SCRATCH1 register handling for rtc-only mode
    ARM: OMAP2+: opp33xx: Change OPP50 initialization
    ARM: OMAP2: sleep43xx: Set MPU Clockdomain to HW_AUTO after suspend
    rtc: OMAP: Add external 32k clock feature
    ARM: dts" AM437x: Correct and reorder the rtc compatibility strings
    ARM: AM33XX/AM43XX: re-order suspend-params
    ARM: AM43XX: Add RTC-only suspend
    remoteproc: wkup_m3: Add rtc_only support
    ARM: dts: AM437X: Enable RTC
    ARM: OMAP2: Add functions to save and restore clock/dpll context en-masse.
    ARM: dts: am437x-gp-evm: force enable dcdc3 regulator during suspend
    regulator: tps65218: Enable suspend configuration
    regulator: of: add support for enabling regulator during suspend
    regulator: tps65217: Enable suspend configuration
    ...

    Conflicts:
    arch/arm/boot/dts/am437x-sk-evm.dts
    arch/arm/boot/dts/am43x-epos-evm.dts

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     

01 Sep, 2014

1 commit


05 Aug, 2014

1 commit


26 Jul, 2014

1 commit


08 Jul, 2014

1 commit

  • commit 4a45787dec8a15b211110be807b4f4aad2828385 upstream.

    Add support for TI's AM437x StarterKit Evaluation
    Module.

    Cc: Josh Elliot
    Signed-off-by: Felipe Balbi
    Tested-by: Franklin Cooper Jr.
    Tested-by: Tom Rini
    Tested-by: Darren Etheridge
    Signed-off-by: Tony Lindgren

    Felipe Balbi