10 Jan, 2019

2 commits

  • To avoid the following error:
    asoc-simple-card sound: ASoC: Failed to create card debugfs directory

    Which is because the card name contains '/' character, which can not be
    used in file or directory names.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Sekhar Nori

    Peter Ujfalusi
     
  • Add the board level fixed regulators for 3.3V and 1.8V which is used to
    power - among other things - the tlv320aic3106 codec.

    Apart from removing the following warning during boot:
    tlv320aic3x-codec 0-0018: Too high supply voltage(s) AVDD: 5000000, DVDD: 5000000

    With the correct voltages the driver can select correct OCMV value to
    reduce pop noise.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Sekhar Nori

    Peter Ujfalusi
     

04 Oct, 2018

1 commit


26 Jun, 2018

1 commit


18 Jun, 2018

2 commits

  • When using the board files the LCD works, but not with the DT.
    This adds enables the original da850-evm to work with the same
    LCD in device tree mode.

    The EVM has a gpio for backlight regulator and a PWM for dimming
    the backlight. The LCD and the vpif display pins are mutually
    exclusive, so if using the LCD, do not load the vpif driver.

    Signed-off-by: Adam Ford
    Signed-off-by: Sekhar Nori

    Adam Ford
     
  • The DA850-EVM from Logic PD has a SATA port and the module that went
    with the kit supports it as well. This patch enables SATA controller.

    Signed-off-by: Adam Ford
    Signed-off-by: Sekhar Nori

    Adam Ford
     

16 May, 2018

1 commit

  • The legacy mode uses the write protect and card detect but DT does not.
    This patch enables Write-Protect and Card-Detect pins for the MMC card, and
    the gpio-ranges property sets the gpio pinmuxing for those respective pins.

    Signed-off-by: Adam Ford
    Signed-off-by: Sekhar Nori

    Adam Ford
     

10 May, 2018

1 commit

  • Many node labels in the device tree (like serial0, serial1, etc) are being
    redefined, so let's modernize the device tree by using phandles to
    extend the existing nodes. This helps reduce the whitespace.

    Signed-off-by: Adam Ford
    [nsekhar@ti.com: drop tps6507x related changes]
    Signed-off-by: Sekhar Nori

    Adam Ford
     

16 Apr, 2018

1 commit


26 Feb, 2018

1 commit


20 Sep, 2017

1 commit

  • Add aliases for serial and ethernet nodes. Serial
    aliases help keep order of tty nodes fixed and
    ethernet alias is used by bootloader to setup mac
    address correctly.

    Reported-by: Adam Ford
    Acked-by: Tony Lindgren
    Fixes: dd7deaf218bf ("ARM: davinci: da850: add DT node for ethernet")
    Signed-off-by: Sekhar Nori

    Sekhar Nori
     

27 Jul, 2017

1 commit


06 Jun, 2017

1 commit

  • In order GPIOS from this controller to be used with the "gpio-hogs"
    property, the tca6416 node has to properly labeled as a gpio-controller,
    and use #gpio-cells.

    With that, the SEL_A, SEL_B, SEL_C lines that are used to select VPIF
    input can be configured using GPIO hogs.

    As an example, example, the configuration below selects the analog video
    input on the da850-evm UI board:

    &tca6416 {
    status = "okay";

    sel_a {
    gpio-hog;
    gpios = ;
    output-high;
    line-name = "ADC_ENn";
    };
    sel_b {
    gpio-hog;
    gpios = ;
    output-high;
    line-name = "CAMERA_ENn";
    };
    sel_c {
    gpio-hog;
    gpios = ;
    output-low;
    line-name = "VIDEO_IN_ENn";
    };
    };

    Signed-off-by: Kevin Hilman
    Signed-off-by: Sekhar Nori

    Kevin Hilman
     

07 Mar, 2017

3 commits


24 Feb, 2017

1 commit

  • Pull ARM DT updates from Arnd Bergmann:
    "A total of 380 patches this time, mostly adding support for more
    hardware in the device tree descriptions. There is not much exciting
    here for 4.11, but I've tried my best to condense the information from
    the pull requests I got into a readable summary.

    Noteworthy changes to existing platforms include:

    - The GIC memory map was a bit wrong almost everywhere and now gets
    fixed up

    - The Allwinner platforms convert to the generic pinmux properties

    - The Marvell EBU platforms now use the new DSA binding

    - Samsung Exynos4212 was unused and gets removed

    - The Renesas power management got improved

    New production machines:

    - Lego Mindstorms EV3:
    https://www.lego.com/en-us/mindstorms/about-ev3

    - Beelink X2 Android media box:
    http://linux-sunxi.org/Beelink_X2

    - "Romulus" baseboard management controller for OpenPower

    - Axentia TSE-850 Data Radio Channel (DARC) encoder:
    http://www.axentia.se/db/equipment.html

    - Luxul XAP-1410 and XWR-1200 wireless access points:
    https://luxul.com/xap-1410

    New SoCs:

    - Allwinner H2+ and V3s, both minor variations of already supported
    chips:
    http://www.allwinnertech.com/index.php?c=product&a=index&id=38

    - Marvell Prestera DX packet processors based on Armada XP
    architecture:
    http://www.marvell.com/switching/prestera-dx/

    - Samsung Exynos4412 Prime gets added, a minor variation of
    Exynos4412

    New developer and reference boards:

    - Lichee Pi One, Lichee Pi Zero and Orange Pi Zero, all based on
    Allwinner SoCs:
    http://linux-sunxi.org/LicheePi_One
    http://www.orangepi.org/orangepizero/

    - SAMA5d36ek Reference platform:
    http://www.atmel.com/tools/sama5d36-ek.aspx

    - Beaglebone Green Wireless and Black Wireless:
    https://beagleboard.org/black-wireless
    https://beagleboard.org/green-wireless

    - phyCORE-AM335x System on Module:
    http://phytec.com/products/system-on-modules/phycore/am335x/

    - New revision of "vf610-zii" Zodiac Inflight Innovations board

    - Various i.MX System-on-Module: Is.IoT MX6UL, SavageBoard, Engicam
    i.Core:
    http://www.opossom.com/english/index.html
    http://www.savageboard.org/
    http://www.engicam.com/en/products/embedded/som/sodimm/is-iot-mx6ul
    http://www.engicam.com/en/products/embedded/som/sodimm/i-core-m6s-dl-d-q

    - Liebherr (LWN) monitor 6 based on i.MX6 Quad, no idea what this is

    - Cleanups and bugfixes on at91, bcm53xx, i.MX, mvebu, omap, oxnas,
    qcom, rockchip, sti, stm32 and tegra

    New device supports added to some boards and SoCs, briefly by platform:

    - Allwinner: SPDIF, A33 cpufreq, A33 Mali GPU

    - Aspeed: network, ipmi bt, gpio, pinmux

    - Broadcom: video encoder for raspberry pi, qspi, ethernet, sd/mmc

    - TI DaVinci: gpio, lcdc, usb, video-in, uart

    - TI Keystone 2: MSM RAM, power/reset, uart

    - Mediatek MT2701: clocks, iommu, spi, nand, adc, thermal

    - Marvell EBU: ethernet switch on Turris Omnia

    - NXP i.MX: otp ram, USB, wifi, bluetooth, spdif, spi, pmic, eeprom,
    mmc, nand

    - TI OMAP:

    - Qualcomm: coresight, gyro/accelerometer, hdmi

    - Renesas: pmic, soc-id

    - Rockchip: qos

    - Samsung: audio on Odroid-X

    - Socfpga: FPGA manager, i2c, led, can, watchdog, nand, power monitor

    - STi: video in/out

    - STM32: timer, pwm, i2c, rtc, add, i2s

    - NVIDIA Tegra: tpm

    - Uniphier: mmc/sd pinmux"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (380 commits)
    ARM: dts: armada-385-linksys: fix DSA compatible property
    ARM: dts: Fix typo in armada-xp-98dx4251
    ARM: DTS: Fix register map for virt-capable GIC
    dt-bindings: arm,gic: Fix binding example for a virt-capable GIC
    ARM: dts: sun8i: sinlinx: Enable audio nodes
    ARM: dts: sun8i: parrot: Enable audio nodes
    ARM: dts: sun8i: Add audio codec, dai and card for A33
    ARM: dts: Add EMAC AXI settings for Arria10
    ARM: dts: am335x-chiliboard: Support charger
    ARM: dts: am335x-chiliboard: Support power button
    ARM: sun8i: dt: Add mali node
    dt-bindings: gpu: Add Mali Utgard bindings
    ARM: dts: stm32: Add I2C1 support for STM32429 eval board
    ARM: dts: stm32: Add I2C1 support for STM32F429 SoC
    ARM: dts: stm32: Use clock DT binding definition on stm32f429 family
    dt-bindings: mfd: stm32f4: Add missing binding definition
    dt-bindings: mfd: stm32f4: Fix STM32F4_X_CLOCK() macro
    ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco
    ARM: dts: stm32: add Timers driver for stm32f429 MCU
    ARM: dts: add the AB8500 sysclk to the device trees
    ...

    Linus Torvalds
     

20 Jan, 2017

1 commit

  • Read access to the SPI flash are broken on da850-evm, i.e. the data
    read is not what is actually programmed on the flash.
    According to the datasheet for the M25P64 part present on the da850-evm,
    if the SPI frequency is higher than 20MHz then the READ command is not
    usable anymore and only the FAST_READ command can be used to read data.

    This commit specifies in the DTS that we should use FAST_READ command
    instead of the READ command.

    Cc: stable@vger.kernel.org
    Tested-by: Kevin Hilman
    Signed-off-by: Fabien Parent
    [nsekhar@ti.com: subject line adjustment]
    Signed-off-by: Sekhar Nori

    Signed-off-by: Olof Johansson

    Fabien Parent
     

10 Jan, 2017

1 commit


15 Sep, 2016

1 commit

  • …t/nsekhar/linux-davinci into next/dt

    Pull "DaVinci DA850 device-tree enhancements include" from Sekhar Nori:

    - Support for new board OMAP-L138 LCDK
    - Add AEMIF node on DA850 EVM and use it for NAND
    - Audio support for LCDK
    - Cleanups for PWM and UART

    * tag 'davinci-for-v4.9/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
    ARM: dts: da850-lcdk: Audio support via simple-card
    ARM: dts: da850,da850-evm: Add an aemif node and use it for the NAND
    ARM: dts: da850: Add basic DTS for the LCDK
    ARM: dts: da850: Add missing pin muxing for the UARTs
    ARM: dts: da850: Add new ECAP and EPWM bindings

    Arnd Bergmann
     

18 Aug, 2016

1 commit

  • Currently the davinci da8xx boards use the mach-davinci aemif code.
    Instantiating an aemif node into the DT allows to use the ti-aemif
    memory driver and is another step to better DT support.
    This change adds an aemif node in the dtsi while retiring the nand_cs3
    node. The NAND is now instantiated in the dts as a subnode of the aemif
    one along with its pins.

    Signed-off-by: Karl Beldan
    Signed-off-by: Sekhar Nori

    Karl Beldan
     

16 Aug, 2016

1 commit


14 Apr, 2016

1 commit

  • TI has been using the physical address in DT after the @ in device nodes.
    The device tree convention is to use the same address that is used for
    the reg property. This updates all davinci DT files to use the proper
    convention.

    Signed-off-by: David Lechner
    Acked-by: Rob Herring
    Signed-off-by: Sekhar Nori

    David Lechner
     

24 Dec, 2015

2 commits

  • The eDMA1 in da850 has only one TPTC and for example MMC1 is HW events are
    handled by it.

    Signed-off-by: Peter Ujfalusi
    Tested-by: Sushaanth Srirangapathi
    Signed-off-by: Sekhar Nori

    Peter Ujfalusi
     
  • Switch to use the ti,edma3-tpcc and ti,edma3-tptc binding for the eDMA3.
    With the new bindings boards can customize and tweak the DMA channel
    priority to match their needs. With the new binding the memcpy is safe
    to be used since with the old binding it was not possible for a driver
    to know which channel is allowed to be used as non HW triggered channel.
    Using the new binding will allow us to reserve PaRAM slots to be used by
    the DSP which was not possible before and prevented the da850 boards to be
    moved to DT only.

    Note that the DMA memcpy is disabled, it can be enabled by reserving
    channels for memcpy by adding the following property to the edma node:
    ti,edma-memcpy-channels = ; /* Reserving channel 20 and 21 for memcpy */

    Signed-off-by: Peter Ujfalusi
    Tested-by: Sushaanth Srirangapathi
    Signed-off-by: Sekhar Nori

    Peter Ujfalusi
     

26 Aug, 2014

3 commits


15 Dec, 2013

1 commit


22 Aug, 2013

2 commits


20 Jun, 2013

1 commit


18 Apr, 2013

1 commit


04 Apr, 2013

1 commit

  • Add DT entry for MMC. Also add entry for pinmux information.
    Tested:
    1) Without GPIO card detection and EDMA support as DT support for
    GPIO and EDMA are yet come.
    2) By creating/deleting files and mounting/unmounting the partition.

    Signed-off-by: Manjunathappa, Prakash
    Cc: linux-mmc@vger.kernel.org
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Cc: davinci-linux-open-source@linux.davincidsp.com
    Cc: devicetree-discuss@lists.ozlabs.org
    Cc: cjb@laptop.org
    Cc: Sekhar Nori
    Acked-by: Arnd Bergmann
    Signed-off-by: Sekhar Nori

    Manjunathappa, Prakash
     

03 Apr, 2013

1 commit

  • Add tps6507x regulator device tree data to da850-evm by
    adding regulator consumers with tightened constraints
    and regulator-name.TPS6507x regulator handle can be obtained
    by using this regulator name.
    Regulator constraints are added as per da850 board file.

    Regulator names are given as per maximum output voltage the
    regulator is capable to provide.
    for e.g. regulator name for dcdc1 is "VDCDC1_3.3V".
    Also, add tps6507x PMIC I2C slave device under I2C0 node.

    Tested on da850-evm.

    Signed-off-by: Vishwanathrao Badarkhe, Manish
    Signed-off-by: Sekhar Nori

    Vishwanathrao Badarkhe, Manish
     

10 Feb, 2013

2 commits


28 Jan, 2013

1 commit


21 Jan, 2013

2 commits

  • Add NAND driver DT node and related pinctrl DT data to export NAND
    functionality on da850 evm.

    Signed-off-by: Kumar, Anil
    Signed-off-by: Sekhar Nori

    Kumar, Anil
     
  • For DT, DaVinci platform can use pinctrl-single driver for handling
    padconf registers.

    Enable PINCTRL Kconfig for MACH_DA8XX_DT platform. Add required
    pinctrl DT entries in da850 dts file.

    Test procedure
    1)Populate DT file with NAND node information.
    2)Populate board DT file with pinmux information for NAND.
    3)Boot and confirm NAND is detected by the kernel.
    4)cat /proc/mtd to show partitions.

    Signed-off-by: Kumar, Anil
    Signed-off-by: Sekhar Nori

    Kumar, Anil