Re: Nokia N900: musb is in wrong state after boot

2016-02-22 Thread Adam Ford
For what it's worth, I tried running the MUSB via the twl4030 on Linux-Next (I don't remember which snapshot), and it was broken for me on a DM3730 (OMAP 3630), but Kernel 4.4.2 worked. Are you using Linux-Next or one of the stable kernels? I can try again later this week with a newer linux-next

[PATCH V2] OMAPDSS: Kconfig: Add HDMI for OMAP4 and OMAP5 dependencies

2016-10-04 Thread Adam Ford
Make "HDMI for OMAP4" and "HDMI for OMAP5" depend on ARCH_OMAP4 and SOC_OMAP5/DRA7XX respectively. Signed-off-by: Adam Ford <aford...@gmail.com> Changes in v2: Add dependancy for DRA7XX or OMAP5 diff --git a/drivers/gpu/drm/omapdrm/dss/Kconfig b/drivers/gpu/drm

[PATCH] ARM: dts: da850-evm: add chosen and SPI alias

2017-09-01 Thread Adam Ford
At the request of Sekhar Nori from TI, this is a follow-up to pending ("ARM: dts: da850-evm: add serial and ethernet aliases") This patch will add the chosen container to point stdout-path to serial2 and set the alias for spi0 to spi1 since the SPI NOR flash exists on SPI1. Signed-of

[PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-07 Thread Adam Ford
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 <aford...@gmail.com> --- V3: Rebase against 4.18/dt and fix s

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Adam Ford
On Thu, May 10, 2018 at 10:19 AM, Sekhar Nori <nsek...@ti.com> wrote: > On Thursday 10 May 2018 08:38 PM, Adam Ford wrote: >> On Thu, May 10, 2018 at 4:10 AM, Sekhar Nori <nsek...@ti.com> wrote: >>> On Monday 07 May 2018 06:07 PM, Adam Ford wrote: >>>>

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Adam Ford
On Thu, May 10, 2018 at 4:10 AM, Sekhar Nori <nsek...@ti.com> wrote: > On Monday 07 May 2018 06:07 PM, Adam Ford wrote: >> 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 >>

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-13 Thread Adam Ford
On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 3 patches fix some issues with the clock > drivers that have already been accepted into the mainline kernel.

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-16 Thread Adam Ford
vice tree clock support to the one SoC that > supports it. > > This series has been tested on TI OMAP-L138 LCDK (both device tree and legacy > board file). > I am find. I don't know what I did wrong, but it's working fine. If you want to add my 'tested-by' go ahead. Tested-by: Adam

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-15 Thread Adam Ford
On Tue, May 15, 2018 at 4:25 AM, Bartosz Golaszewski <b...@bgdev.pl> wrote: > 2018-05-14 2:40 GMT+02:00 Adam Ford <aford...@gmail.com>: >> On Wed, May 9, 2018 at 12:25 PM, David Lechner <da...@lechnology.com> wrote: >>> This series converts mach-davin

[PATCH] ARM: dts: logicpd-torpedo-som: Disable twl_keypad

2018-06-15 Thread Adam Ford
There are no keys connected to the keypad pins on any of the logicpd torpedo SOM's. This eliminates some splat about malformed keypad properies Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 7d2302e8706c

Re: [PATCH v4 6/7] ARM: davinci: convert to common clock framework

2018-01-04 Thread Adam Ford
On Thu, Jan 4, 2018 at 11:50 AM, David Lechner wrote: > > > On 1/4/18 6:39 AM, Sekhar Nori wrote: >> >> On Monday 01 January 2018 05:09 AM, David Lechner wrote: >>> >>> This converts all of arch/arm/mach-davinci to the common clock framework. >>> The clock drivers from

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Wed, Jan 10, 2018 at 8:50 PM, David Lechner <da...@lechnology.com> wrote: > On 01/10/2018 04:24 PM, Adam Ford wrote: >> >> >> I am available tomorrow to build and test patches against the >> da850-evm. I just need to know which version(s) to test. > > &g

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 9:47 AM, Sekhar Nori <nsek...@ti.com> wrote: > On Thursday 11 January 2018 06:15 PM, Adam Ford wrote: >> On Wed, Jan 10, 2018 at 8:50 PM, David Lechner <da...@lechnology.com> wrote: >>> On 01/10/2018 04:24 PM, Adam Ford wrote: >>>>

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-10 Thread Adam Ford
On Wed, Jan 10, 2018 at 12:52 PM, Sekhar Nori wrote: > On Wednesday 10 January 2018 08:31 AM, David Lechner wrote: >> On 01/09/2018 06:35 AM, Sekhar Nori wrote: >>> On Monday 08 January 2018 09:59 PM, David Lechner wrote: On 01/08/2018 08:00 AM, Sekhar Nori wrote: > On

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-21 Thread Adam Ford
drivers/clk/davinci/pll-dm646x.c > create mode 100644 drivers/clk/davinci/pll.c > create mode 100644 drivers/clk/davinci/pll.h > create mode 100644 drivers/clk/davinci/psc-da830.c > create mode 100644 drivers/clk/davinci/psc-da850.c > create mode 100644 drivers/clk/davinci/psc-dm355.c > create mode 100644 drivers/clk/davinci/psc-dm365.c > create mode 100644 drivers/clk/davinci/psc-dm644x.c > create mode 100644 drivers/clk/davinci/psc-dm646x.c > create mode 100644 drivers/clk/davinci/psc.c > create mode 100644 drivers/clk/davinci/psc.h > create mode 100644 include/linux/clk/davinci.h > I tested this tested on DA850-evm in both Device Tree mode and using the board file. The reboot is broken without the watchdog module, but the watchdog patch is in [PATCH] ARM: davinci_all_defconfig: set CONFIG_DAVINCI_WATCHDOG=y Go ahead and mark me down as tested if you want. Tested-by: Adam Ford <aford...@gmail.com> > -- > 2.7.4 >

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-16 Thread Adam Ford
On Tue, Jan 16, 2018 at 5:22 AM, Sekhar Nori <nsek...@ti.com> wrote: > Hi Adam, David, > > On Friday 12 January 2018 03:04 AM, Adam Ford wrote: >> Thanks for clarifying. I was able to make it work with the following patch: >> >> diff --git a/drivers/clk/davi

Re: [PATCH] ARM: davinci_all_defconfig: set CONFIG_DAVINCI_WATCHDOG=y

2018-01-16 Thread Adam Ford
gt;> commit 0808d3260456 ("ARM: davinci: remove watchdog reset") and into the >> watchdog driver, devices cannot reboot unless the watchdog driver is >> loaded, so make it a compiled-in option so that we can always reboot, even >> when modules are not loaded. >> &

Re: [PATCH v5 02/44] clk: davinci: New driver for davinci PLL clocks

2018-01-12 Thread Adam Ford
On Fri, Jan 12, 2018 at 9:25 AM, David Lechner wrote: > On 01/12/2018 03:21 AM, Sekhar Nori wrote: >> >> On Monday 08 January 2018 07:47 AM, David Lechner wrote: >>> >>> This adds a new driver for mach-davinci PLL clocks. This is porting the >>> code from

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 3:04 PM, David Lechner <da...@lechnology.com> wrote: > On 01/11/2018 02:58 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 2:04 PM, David Lechner <da...@lechnology.com> >> wrote: >>> >>> On 01/11/2018 12:50 PM, Adam Fo

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 11:22 AM, David Lechner <da...@lechnology.com> wrote: > On 01/11/2018 06:45 AM, Adam Ford wrote: >> >> On Wed, Jan 10, 2018 at 8:50 PM, David Lechner <da...@lechnology.com> >> wrote: >>> >>> On 01/10/2018 04:24 PM,

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 2:04 PM, David Lechner <da...@lechnology.com> wrote: > On 01/11/2018 12:50 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 12:29 PM, David Lechner <da...@lechnology.com> >> wrote: >>> >>> If removing the &quo

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:29 PM, David Lechner <da...@lechnology.com> wrote: > On 01/11/2018 12:09 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 11:22 AM, David Lechner <da...@lechnology.com> >> wrote: >>> >>> On 01/11/2018 06:45 AM, Adam F

Re: [PATCH v4 0/7] ARM: davinci: convert to common clock framework​

2018-01-02 Thread Adam Ford
On Sun, Dec 31, 2017 at 5:39 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > Basically, this series does some cleanup and rearranging to get things > ready for the conversion. Then there is a patch to add new driver in >

[RFC] ARM: dts: sama5d2: qspi DMA fixes spi DMA

2017-12-26 Thread Adam Ford
transfers The QSPI driver doesn't appear to me to be using the DMA but the datasheet seems indicate the DMA is supported. I am not sure why patch would fix the errors, so I'm posting it as RFC. Signed-off-by: Adam Ford <aford...@gmail.com> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/ar

[PATCH] ARM: DTS: am3517.dtsi: Disable reference to OMAP3 OTG controller

2018-07-11 Thread Adam Ford
The AM3517 has a different OTG controller location than the OMAP3, which is included from omap3.dtsi. This results in a hwmod error. Since the AM3517 has a different OTG controller address, this patch disabes one that is isn't available. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: > On 01/23/2018 10:03 AM, David Lechner wrote: >> >> You can see if the clock is enabled by running: >> >> cat /sys/kernel/debug/clk/clk_summary >> > > I just realized if you can't boot, you can't do this. :-/ I

Re: [PATCH 4.4 13/36] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux

2018-03-14 Thread Adam Ford
On Mon, Mar 12, 2018 at 6:29 PM, Ben Hutchings <ben.hutchi...@codethink.co.uk> wrote: > On Fri, 2018-03-09 at 16:18 -0800, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >&

Re: [PATCH v8 00/42] ARM: davinci: convert to common clock framework​

2018-03-19 Thread Adam Ford
On Mon, Mar 19, 2018 at 10:59 AM, David Lechner wrote: > On 03/19/2018 08:17 AM, Bartosz Golaszewski wrote: >> >> 2018-03-16 3:52 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series

Re: [PATCH v8 00/42] ARM: davinci: convert to common clock framework​

2018-03-19 Thread Adam Ford
On Mon, Mar 19, 2018 at 11:15 AM, Bartosz Golaszewski <bgolaszew...@baylibre.com> wrote: > 2018-03-19 17:14 GMT+01:00 Bartosz Golaszewski <bgolaszew...@baylibre.com>: >> 2018-03-19 17:11 GMT+01:00 Adam Ford <aford...@gmail.com>: >>> On Mon, Mar 19,

[PATCH] ARM: dts: da850-evm: Enable usb_phy, usb0 and usb1

2018-03-19 Thread Adam Ford
The EVM kit has two USB ports. This patch will enable both when booting with device tree. Signed-off-by: Adam Ford <aford...@gmail.com> diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index c755079..cc77735 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-16 Thread Adam Ford
On Thu, Sep 20, 2018 at 9:58 AM jacopo mondi wrote: > > Hi imx6 people, > > On Thu, May 31, 2018 at 08:39:20PM +0530, Jagan Teki wrote: > > Hi All, > > > > I'm trying to verify MIPI-CSI2 OV5640 camera on i.MX6 platform with > > Mainline Linux. > > Sorry to resurect this, but before diving deep

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-19 Thread Adam Ford
On Wed, Oct 17, 2018 at 3:01 AM jacopo mondi wrote: > > Hi Adam, Seve, > > On Tue, Oct 16, 2018 at 05:13:24PM -0700, Steve Longerbeam wrote: > > Hi Adam, > > > > > > On 10/16/18 12:46 PM, Adam Ford wrote: > > >On Thu, Sep 20, 2018 at 9:58

Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

2018-10-28 Thread Adam Ford
On Wed, Oct 24, 2018 at 9:17 AM Adam Ford wrote: > > On Wed, Oct 24, 2018 at 9:08 AM jacopo mondi wrote: > > > > Hi Adam, > > > > On Wed, Oct 24, 2018 at 08:53:41AM -0500, Adam Ford wrote: > > > On Tue, Oct 23, 2018 at 6:03 PM jacopo mondi wrote: > >

Pinmuxing and SDHC speeds on sdhci-esdhc-imx

2018-10-09 Thread Adam Ford
I have a question regarding the pinstate and the corresponding uhs_signaling. The uhs_signaling shows a variety of timing options, MMC_TIMING_UHS_SDR12, MMC_TIMING_UHS_SDR25:, MMC_TIMING_UHS_SDR50, MMC_TIMING_UHS_SDR104, MMC_TIMING_MMC_HS200, MMC_TIMING_UHS_DDR50, MMC_TIMING_MMC_DDR52,

[PATCH 3/3] ARM: OMAP2PLUS: Remove references to AM3517-EVM since it's in DT

2018-09-23 Thread Adam Ford
Since the audio codecs used on the AM3517-EVM are now available in device tree, and the audio driver wasn't really being used anyway, this patch removes the remaining AM3517 legacy board options and sound soc drivers. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm

[PATCH 1/3] ARM: configs: omap2plus: Add tlv320aic23 as module

2018-09-23 Thread Adam Ford
The AM3517 EVM has an expander board which has two tlv320aic23 codecs. This enables the driver for these codecs as a module. Signed-off-by: Adam Ford diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 6491419b1dad..21cabb7ad970 100644 --- a/arch/arm

[PATCH 2/3] ARM: DTS: AM3517-EVM: Add support for UI board and Audio

2018-09-23 Thread Adam Ford
The full AM3517-EVM shipped with an add-on board which contained two Audio codecs, a GPIO expander with a variety of buttons, and some other features. This patch enables these portions of the UI board because they don't directly conflict with existing features. Signed-off-by: Adam Ford diff

Re: [PATCH] regulator: pfuze100-regulator: add coin support

2018-09-24 Thread Adam Ford
On Thu, Mar 9, 2017 at 8:17 AM George McCollister wrote: > > Add support for PF0200 coin cell/super capacitor charger which works as > a current limited voltage source via the LICELL pin. When VIN goes below > a certain threshold LICELL is used to provide power for VSNVS which is > usually used

Re: [PATCH 4.4 13/36] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux

2018-03-14 Thread Adam Ford
On Mon, Mar 12, 2018 at 6:29 PM, Ben Hutchings wrote: > On Fri, 2018-03-09 at 16:18 -0800, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> ------ >> >> From: Adam Ford >> >> co

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-15 Thread Adam Ford
On Tue, May 15, 2018 at 4:25 AM, Bartosz Golaszewski wrote: > 2018-05-14 2:40 GMT+02:00 Adam Ford : >> On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works lik

[PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-07 Thread Adam Ford
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 --- V3: Rebase against 4.18/dt and fix subject. V2: Rename

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Adam Ford
On Thu, May 10, 2018 at 4:10 AM, Sekhar Nori wrote: > On Monday 07 May 2018 06:07 PM, Adam Ford wrote: >> 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 existi

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Adam Ford
On Thu, May 10, 2018 at 10:19 AM, Sekhar Nori wrote: > On Thursday 10 May 2018 08:38 PM, Adam Ford wrote: >> On Thu, May 10, 2018 at 4:10 AM, Sekhar Nori wrote: >>> On Monday 07 May 2018 06:07 PM, Adam Ford wrote: >>>> Many node labels in the device tree (like se

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-13 Thread Adam Ford
On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 3 patches fix some issues with the clock > drivers that have already been accepted into the mainline kernel. > > Then, starting

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-16 Thread Adam Ford
he one SoC that > supports it. > > This series has been tested on TI OMAP-L138 LCDK (both device tree and legacy > board file). > I am find. I don't know what I did wrong, but it's working fine. If you want to add my 'tested-by' go ahead. Tested-by: Adam Ford #da850-evm, ether

[PATCH] ARM: dts: da850-evm: add chosen and SPI alias

2017-09-01 Thread Adam Ford
At the request of Sekhar Nori from TI, this is a follow-up to pending ("ARM: dts: da850-evm: add serial and ethernet aliases") This patch will add the chosen container to point stdout-path to serial2 and set the alias for spi0 to spi1 since the SPI NOR flash exists on SPI1. Signed-of

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-10 Thread Adam Ford
On Wed, Jan 10, 2018 at 12:52 PM, Sekhar Nori wrote: > On Wednesday 10 January 2018 08:31 AM, David Lechner wrote: >> On 01/09/2018 06:35 AM, Sekhar Nori wrote: >>> On Monday 08 January 2018 09:59 PM, David Lechner wrote: On 01/08/2018 08:00 AM, Sekhar Nori wrote: > On Monday 08 January

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Wed, Jan 10, 2018 at 8:50 PM, David Lechner wrote: > On 01/10/2018 04:24 PM, Adam Ford wrote: >> >> >> I am available tomorrow to build and test patches against the >> da850-evm. I just need to know which version(s) to test. > > > Great. As per the cove

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 9:47 AM, Sekhar Nori wrote: > On Thursday 11 January 2018 06:15 PM, Adam Ford wrote: >> On Wed, Jan 10, 2018 at 8:50 PM, David Lechner wrote: >>> On 01/10/2018 04:24 PM, Adam Ford wrote: >>>> >>>> >>>> I a

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 11:22 AM, David Lechner wrote: > On 01/11/2018 06:45 AM, Adam Ford wrote: >> >> On Wed, Jan 10, 2018 at 8:50 PM, David Lechner >> wrote: >>> >>> On 01/10/2018 04:24 PM, Adam Ford wrote: >>>> >>>> >

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:29 PM, David Lechner wrote: > On 01/11/2018 12:09 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 11:22 AM, David Lechner >> wrote: >>> >>> On 01/11/2018 06:45 AM, Adam Ford wrote: >>>> >>>>

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 2:04 PM, David Lechner wrote: > On 01/11/2018 12:50 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 12:29 PM, David Lechner >> wrote: >>> >>> If removing the "clk_ignore_unused" option causes the board to not boot, >

Re: [PATCH v5 01/44] dt-bindings: clock: Add new bindings for TI Davinci PLL clocks

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 3:04 PM, David Lechner wrote: > On 01/11/2018 02:58 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 2:04 PM, David Lechner >> wrote: >>> >>> On 01/11/2018 12:50 PM, Adam Ford wrote: >>>> >>>> &

Re: [PATCH v4 6/7] ARM: davinci: convert to common clock framework

2018-01-04 Thread Adam Ford
On Thu, Jan 4, 2018 at 11:50 AM, David Lechner wrote: > > > On 1/4/18 6:39 AM, Sekhar Nori wrote: >> >> On Monday 01 January 2018 05:09 AM, David Lechner wrote: >>> >>> This converts all of arch/arm/mach-davinci to the common clock framework. >>> The clock drivers from clock.c and psc.c have been

[RFC] ARM: dts: sama5d2: qspi DMA fixes spi DMA

2017-12-26 Thread Adam Ford
transfers The QSPI driver doesn't appear to me to be using the DMA but the datasheet seems indicate the DMA is supported. I am not sure why patch would fix the errors, so I'm posting it as RFC. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi

[PATCH] ARM: dts: da850-evm: Enable usb_phy, usb0 and usb1

2018-03-19 Thread Adam Ford
The EVM kit has two USB ports. This patch will enable both when booting with device tree. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index c755079..cc77735 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850

Re: [PATCH v8 00/42] ARM: davinci: convert to common clock framework​

2018-03-19 Thread Adam Ford
On Mon, Mar 19, 2018 at 10:59 AM, David Lechner wrote: > On 03/19/2018 08:17 AM, Bartosz Golaszewski wrote: >> >> 2018-03-16 3:52 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works like this, the first 19 patches create

Re: [PATCH v8 00/42] ARM: davinci: convert to common clock framework​

2018-03-19 Thread Adam Ford
On Mon, Mar 19, 2018 at 11:15 AM, Bartosz Golaszewski wrote: > 2018-03-19 17:14 GMT+01:00 Bartosz Golaszewski : >> 2018-03-19 17:11 GMT+01:00 Adam Ford : >>> On Mon, Mar 19, 2018 at 10:59 AM, David Lechner >>> wrote: >>>> On 03/19/2018 08:17 AM, Bartosz Go

Re: [PATCH v5 02/44] clk: davinci: New driver for davinci PLL clocks

2018-01-12 Thread Adam Ford
On Fri, Jan 12, 2018 at 9:25 AM, David Lechner wrote: > On 01/12/2018 03:21 AM, Sekhar Nori wrote: >> >> On Monday 08 January 2018 07:47 AM, David Lechner wrote: >>> >>> This adds a new driver for mach-davinci PLL clocks. This is porting the >>> code from arch/arm/mach-davinci/clock.c to the

Re: [PATCH v4 0/7] ARM: davinci: convert to common clock framework​

2018-01-02 Thread Adam Ford
On Sun, Dec 31, 2017 at 5:39 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > Basically, this series does some cleanup and rearranging to get things > ready for the conversion. Then there is a patch to add new driver in > drivers/clk and finally

Re: [PATCH V2 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property

2021-01-20 Thread Adam Ford
On Wed, Jan 20, 2021 at 10:35 AM Luca Ceresoli wrote: > > Hi Adam, > > On 19/01/21 22:21, Adam Ford wrote: > > There are two registers which can set the load capacitance for > > XTAL1 and XTAL2. These are optional registers when using an > > external crystal.

[PATCH V2 2/4] ARM: dts: renesas: Add fck to etheravb-rcar-gen2 clock-names list

2021-01-15 Thread Adam Ford
The bindings have been updated to support two clocks, but the original clock now requires the name fck. Add a clock-names list in the device tree with fck in it. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7742.dtsi | 1 + arch/arm/boot/dts/r8a7743.dtsi

[PATCH V2 4/4] net: ethernet: ravb: Enable optional refclk

2021-01-15 Thread Adam Ford
For devices that use a programmable clock for the avb reference clock, the driver may need to enable them. Add code to find the optional clock and enable it when available. Signed-off-by: Adam Ford --- drivers/net/ethernet/renesas/ravb.h | 1 + drivers/net/ethernet/renesas/ravb_main.c | 8

[PATCH V2 1/4] dt-bindings: net: renesas,etheravb: Add additional clocks

2021-01-15 Thread Adam Ford
to add the additional optional clock, and explicitly name both of them. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- .../devicetree/bindings/net/renesas,etheravb.yaml | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) V2: Change name from

[PATCH V2 3/4] arm64: dts: renesas: Add fck to etheravb-rcar-gen3 clock-names list

2021-01-15 Thread Adam Ford
The bindings have been updated to support two clocks, but the original clock now requires the name fck. Add a clock-names list in the device tree with fck in it. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 1 + arch/arm64/boot/dts

[PATCH 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property

2021-01-16 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Since XTAL1 and XTAL2 will set to the same value, update the binding to support a single property called xtal-load-femtofarads. Signed-off-by: Adam Ford

[PATCH 2/2] clk: vc5: Add support for optional load capacitance

2021-01-16 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Parse the device tree and set the corresponding registers accordingly. Signed-off-by: Adam Ford diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk

Re: [PATCH 2/2] clk: vc5: Add support for optional load capacitance

2021-01-18 Thread Adam Ford
On Sat, Jan 16, 2021 at 3:55 PM Adam Ford wrote: > > There are two registers which can set the load capacitance for > XTAL1 and XTAL2. These are optional registers when using an > external crystal. Parse the device tree and set the > corresponding registers accordingly. > >

[PATCH V2 2/2] clk: vc5: Add support for optional load capacitance

2021-01-19 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Parse the device tree and set the corresponding registers accordingly. Signed-off-by: Adam Ford --- V2: Make the math subtract 9000 since we have

[PATCH V2 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property

2021-01-19 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Since XTAL1 and XTAL2 will set to the same value, update the binding to support a single property called xtal-load-femtofarads. Signed-off-by: Adam Ford

[PATCH 2/2] arm64: dts: imx8mn-beacon-som: Enable QSPI on SOM

2021-01-19 Thread Adam Ford
There is a QSPI chip connected to the FlexSPI bus. Enable it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi index 2120e6485393..9f575184d899 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn

[PATCH 1/2] arm64: dts: imx8mn: Add fspi node

2021-01-19 Thread Adam Ford
The i.MX8M Nano has the same Flexspi controller used in the i.MX8M Mini. Add the node and disable it by default. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 3fac73779fdd..16ea50089567 100644 --- a/arch/arm64

[RFC 1/2] dt-bindings: clk: versaclock5: Add load capacitance properties

2021-01-06 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Update the bindings to support them. Signed-off-by: Adam Ford --- .../devicetree/bindings/clock/idt,versaclock5.yaml | 12 1 file changed

[RFC 2/2] clk: vc5: Add support for optional load capacitance

2021-01-06 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Parse the device tree and set the corresponding registers accordingly. Signed-off-by: Adam Ford --- drivers/clk/clk-versaclock5.c | 64

[PATCH V3] clk: imx: Fix reparenting of UARTs not associated with sdout

2021-01-15 Thread Adam Ford
are shutdown, this mechanism will also disable any clocks that were pre-initialized. Fixes: 9461f7b33d11c ("clk: fix CLK_SET_RATE_GATE with clock rate protection") Suggested-by: Aisheng Dong Signed-off-by: Adam Ford --- V3: Return a method more closely related to upstream kernel but

Re: [PATCH V3] clk: imx: Fix reparenting of UARTs not associated with sdout

2021-01-18 Thread Adam Ford
On Mon, Jan 18, 2021 at 6:52 AM Abel Vesa wrote: > > On 21-01-15 12:29:08, Adam Ford wrote: > > ... > > > diff --git a/drivers/clk/imx/clk-imx25.c b/drivers/clk/imx/clk-imx25.c > > index a66cabfbf94f..66192fe0a898 100644 > > --- a/drivers/clk/imx/clk-imx25.c >

Re: [PATCH 2/6] arm64: dts: imx8mm-beacon-som: fix missing PMIC's interrupt line pull-up

2020-10-07 Thread Adam Ford
fixes! > Fixes: 5f67317bd967 ("arm64: dts: imx8mm: correct interrupt flags") > Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development > kit") > Signed-off-by: Krzysztof Kozlowski Tested-by: Adam Ford > --- > arch/arm64/boot/dts/freescale/imx8mm

[PATCH] arm64: dts: imx8mm-beacon-som: Fix Choppy BT audio

2020-10-07 Thread Adam Ford
stream audio over the Bluetooth. Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development kit") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index 55b36bddd513..b88c3c99b

[PATCH] arm64: dts: imx8mm-beacon-som: Configure supplies on secondary cpus

2020-10-07 Thread Adam Ford
Each cpu core should have a corresponding supply, but only cpu0 does. This patch adds a supply for each of the secondary cpus. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index b88c3c99b007

[PATCH] arm64: dts: imx8mm-beacon-som: Add QSPI NOR flash support

2020-10-07 Thread Adam Ford
imx8mm-beacon-som has a Quad-SPI NOR flash connected to the FlexSPI bus. This patch enables the FlexSPI bus and configures it to work with the flash part. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon

[PATCH] Input: ili210x: Fix potential memory leaks

2020-08-04 Thread Adam Ford
This driver requests, memory twice and requests a threaded irq, but it doesn't free any of them if something fails. This patch attempts to identify areas where a return was issued without freeing allocated memory or IRQ's. Signed-off-by: Adam Ford diff --git a/drivers/input/touchscreen

Re: [PATCH 2/2] ARM: dts: omap3: Add cpu trips and cooling map for omap34/36 families

2020-08-05 Thread Adam Ford
On Mon, Oct 7, 2019 at 5:06 PM Adam Ford wrote: > > The OMAP3530, OMAP3630, and DM3730 all show thresholds of 90C and 105C > depending on commercial or industrial temperature ratings. > > This patch expands the thermal information to include the limits of 90 > and 105C for

Re: [PATCH 2/2] ARM: omap2plus_defconfig: Enable OMAP3_THERMAL

2020-10-16 Thread Adam Ford
On Fri, Sep 11, 2020 at 7:32 AM Adam Ford wrote: > > With the additional power management options enabled, > this patch enables OMAP3_THERMAL by default. > > Signed-off-by: Adam Ford > --- > V3: No change > V2: No change Tony, Can you apply [2/2] to the OMAP br

[PATCH] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Adam Ford
According to the i.MX8MN TRM, there is only one OTG port. The address for OTG2 is reserved on Nano. This patch removes the non-existent OTG2. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts

[PATCH V2] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Adam Ford
According to the i.MX8MN TRM, there is only one OTG port. The address for OTG2 is reserved on Nano. This patch removes the non-existent OTG2, usbphynop2, and the usbmisc2 nodes. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Adam Ford --- V

Re: [PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-10-08 Thread Adam Ford
On Fri, Sep 11, 2020 at 7:32 AM Adam Ford wrote: > > The bandgap sensor can be idled when the processor is too, but it > isn't currently being done, so the power consumption of OMAP3 > boards can elevated if the bangap sensor is enabled. > > This patch attempts to use som

[PATCH 1/3] arm64: dts: imx8mm: Add support for micfil

2020-10-08 Thread Adam Ford
The i.MX8M Mini has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. This patch adds the micfil node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi

[PATCH 2/3] arm64: dts: imx8mm: Add node for SPDIF

2020-10-08 Thread Adam Ford
The i.MX8M Mini can support SPIDF which is very similar to the IP used on the i.MX35. This patch adds the SPIF node. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index fad1f9cdb241..44a59f59f65a 100644 --- a/arch

[PATCH 3/3] arm64: defconfig: Enable additional sound drivers on i.MX8M Mini

2020-10-08 Thread Adam Ford
The i.MX8M Mini has micfil and SPDIF support but the drivers are not being loaded. This patch updates the defconfig to add support for these drivers. Signed-off-by: Adam Ford diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e0f33826819f..20362359b212 100644

[PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-09-11 Thread Adam Ford
. Signed-off-by: Adam Ford Reported-by: kernel test robot Tested-by: Andreas Kemnade # GTA04 --- V3: bandgap_omap_cpu_notifier is only defined when CONFIG_PM_SLEEP is enabled, so make all references to it also depend on CONFIG_PM_SLEEP as well V2: Fix issue where variable stating the suspend

[PATCH 2/2] ARM: omap2plus_defconfig: Enable OMAP3_THERMAL

2020-09-11 Thread Adam Ford
With the additional power management options enabled, this patch enables OMAP3_THERMAL by default. Signed-off-by: Adam Ford --- V3: No change V2: No change diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index fe383f5a92fb..efcc46305a47 100644

Re: [PATCH] arm64: dts: imx8mn: Fix duplicate node name

2020-12-10 Thread Adam Ford
On Mon, Dec 7, 2020 at 7:36 AM Krzysztof Kozlowski wrote: > > On Mon, Dec 07, 2020 at 02:21:40PM +0100, Krzysztof Kozlowski wrote: > > On Mon, Dec 07, 2020 at 02:53:24PM +0800, Shengjiu Wang wrote: > > > Error log: > > > sysfs: cannot create duplicate filename > > >

[RFC] ravb: Add support for optional txc_refclk

2020-12-12 Thread Adam Ford
The SoC expects the txv_refclk is provided, but if it is provided by a programmable clock, there needs to be a way to get and enable this clock to operate. It needs to be optional since it's only necessary for those with programmable clocks. Signed-off-by: Adam Ford diff --git a/drivers/net

Re: [RFC] ravb: Add support for optional txc_refclk

2020-12-12 Thread Adam Ford
On Sat, Dec 12, 2020 at 11:55 AM Sergei Shtylyov wrote: > > Hello! > > On 12.12.2020 19:56, Adam Ford wrote: > > > The SoC expects the txv_refclk is provided, but if it is provided > > by a programmable clock, there needs to be a way to get and enable > >

[PATCH 04/18] arm64: dts: renesas: beacon kit: Fix Audio Clock sources

2020-12-13 Thread Adam Ford
and enable the clock for audio_clk_a. The choice to use a fixed-factor-clock was due to the fact that it will automatically enable the programmable clock frequency without change any code. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi| 11 +++ 1 file changed

[PATCH 09/18] arm64: dts: renesas: beacon: Fix RGB Display PWM Backlight

2020-12-13 Thread Adam Ford
the backlight to use DPI for consistency. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon

[PATCH 11/18] arm64: dts: renesas: beacon: Remove redundant audio code

2020-12-13 Thread Adam Ford
The SoC's DTSI file already configures this. There is no need to do it again. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 17 - 1 file changed, 17 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch

[PATCH 15/18] arm64: dts: renesas: beacon-rzg2m-kit: Rearange SoC unique functions

2020-12-13 Thread Adam Ford
In preparation for adding new dev kits, move anything specific to the RZ/G2M from the SOM-level and baseboard-levels and move them to the kit-level. This allows the SOM and baseboard to be reused with other SoC's. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi

[PATCH 10/18] arm64: dts: renesas: Don't make vccq_sdhi0 always on

2020-12-13 Thread Adam Ford
vccq_sdhi0 is referenced from sdhi0, so there is no need to force this regualtor to be always-on. In theory it could help with low power modes in the future. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 16/18] dt-bindings: arm: renesas: Add Beacon RZ/G2N and RZ/G2H boards

2020-12-13 Thread Adam Ford
Add beacon,beacon-rzg2n and beacon,beacon-rzg2h to the bindings list. Signed-off-by: Adam Ford --- Documentation/devicetree/bindings/arm/renesas.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm

  1   2   3   4   5   6   >