Re: [PATCH v2 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM

2016-01-06 Thread Stefan Agner
>; > + }; > + pinctrl_sd_cd: gpio_sd_cd { > + fsl,pins = < > + /* SD1 CD */ > + MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0 > + >; > +

Re: [PATCH 1/3] ARM: dts: imx7d: add arch timer

2015-12-17 Thread Stefan Agner
On 2015-12-10 15:12, frank...@freescale.com wrote: > From: Frank Li > > add cortex a7 arch timer. > uboot v2016.01-rc2 supported psci basic support. > smp can be supported by psci This sounds a bit overly simplified log message. I am not very into this PSCI topic, is this a prerequisit for the A

Re: [PATCH v2 3/4] ARM: dts: vf610-cosmic: relicense vf610-cosmic.dts under GPLv2/X11

2015-12-16 Thread Stefan Agner
Hi Matt, Any chance to get an Ack from you for this patch? -- Stefan On 2015-12-07 13:51, Stefan Agner wrote: > GPLv2-only devicetrees make reuse difficult for software components > licensed under a different license. > > The consensus is that a GPL/X11 dual-license should allow a

Re: [PATCH 1/2] ARM: dts: vf-colibri: split PWM pinctrl

2015-12-13 Thread Stefan Agner
On 2015-12-13 18:18, Shawn Guo wrote: > On Wed, Dec 02, 2015 at 02:11:46PM -0800, Stefan Agner wrote: >> Split PWM pins into separate pinctrl nodes to allow overrides which >> select pins individually. This is useful for carrier boards which use >> only one pin for PWM and

Re: [PATCH v2 0/4] ARM: dts: vf610: relicense the device trees under GPLv2/X11

2015-12-07 Thread Stefan Agner
On 2015-12-07 13:54, Stephen Warren wrote: > On 12/07/2015 02:51 PM, Stefan Agner wrote: >> I collected the Acks I received so far and removed them from the list >> below. Several Freescale addresses are no longer valid (the once >> starting with --)... I would interprete the

[PATCH v2 1/4] ARM: dts: vf610: relicense vf???.dtsi under GPLv2/X11

2015-12-07 Thread Stefan Agner
Acked-by: Stephen Warren Acked-by: Cory Tusar Acked-by: Sanchayan Maity Acked-by: Bhuvanchandra DV Acked-by: Yuan Yao Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf500.dtsi | 40 arch/arm/boot/dts/vf610.dtsi | 40

[PATCH v2 3/4] ARM: dts: vf610-cosmic: relicense vf610-cosmic.dts under GPLv2/X11

2015-12-07 Thread Stefan Agner
): git shortlog -sne --no-merges arch/arm/boot/dts/vf610-cosmic.dts CC: Matt Porter Acked-by: Shawn Guo Acked-by: Cory Tusar Acked-by: Olof Johansson Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-cosmic.dts | 40 ++ 1 file changed, 36 insertions(+), 4

[PATCH v2 2/4] ARM: dts: vf610-colibri: relicense vf*colibri* under GPLv2/X11

2015-12-07 Thread Stefan Agner
arch/arm/boot/dts/vf*colibri* Acked-by: Cory Tusar Acked-by: Sanchayan Maity Acked-by: Bhuvanchandra DV Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 40 --- arch/arm/boot/dts/vf-colibri.dtsi | 40 --- arch

[PATCH v2 0/4] ARM: dts: vf610: relicense the device trees under GPLv2/X11

2015-12-07 Thread Stefan Agner
: Sanchayan Maity CC: Shawn Guo CC: Stephen Warren --CC: Xiubo Li CC: Yuan Yao Stefan Agner (4): ARM: dts: vf610: relicense vf???.dtsi under GPLv2/X11 ARM: dts: vf610-colibri: relicense vf*colibri* under GPLv2/X11 ARM: dts: vf610-cosmic: relicense vf610-cosmic.dts under GPLv2/X11 ARM: dts

[PATCH v2 4/4] ARM: dts: vf610-twr: relicense vf610-twr.dts under GPLv2/X11

2015-12-07 Thread Stefan Agner
-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 40 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 5438ee4..ce937b9 100644 --- a/arch/arm/boot/dts/vf610-twr.dts

[PATCH 2/2] ARM: dts: vf-colibri: add CAN support

2015-12-02 Thread Stefan Agner
Add Colibri standard pinmux for FlexCAN controller instances. CAN is not a standard Colibri feature, but the datasheet predefines pins which provide CAN (compatible across some modules). Hence, add the pinmux on module level. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi

[PATCH 1/2] ARM: dts: vf-colibri: split PWM pinctrl

2015-12-02 Thread Stefan Agner
Split PWM pins into separate pinctrl nodes to allow overrides which select pins individually. This is useful for carrier boards which use only one pin for PWM and would like to use the other pin for a different purpose. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 18

Re: [PATCH 0/4] ARM: dts: vf610: relicense the device trees under GPLv2/X11

2015-12-02 Thread Stefan Agner
Hi, [added latest email address of Matt Porter] There are only a few Acks missing. I still miss an answer from a Freescale developer. Yuan, Cosmin or Frank, any chance to get an ack on this? -- Stefan On 2015-11-23 15:57, Stefan Agner wrote: > The GPLv2 license makes it impractical for ot

Re: [PATCH] ARM: dts: vf610: use reset values for L2 cache latencies

2015-12-02 Thread Stefan Agner
On 2015-12-02 00:13, Shawn Guo wrote: > On Mon, Nov 30, 2015 at 05:59:26PM -0800, Stefan Agner wrote: >> Linux on Vybrid used several different L2 latencies so far, none >> of them seem to be the right ones. According to the application note >> AN4947 ("Understanding Vybr

[PATCH] ARM: dts: vf610: use reset values for L2 cache latencies

2015-11-30 Thread Stefan Agner
ommunity.freescale.com/message/579785#579785 For now, the reset values seem to be the best bet. Remove all other "bogus" values and use the reset value on vf610.dtsi level. Signed-off-by: Stefan Agner --- Hi Shawn, Any chance to get this into 4.4? -- Stefan arch/arm/boot/dts/vf610-co

Re: [PATCH v3 1/4] iio: adc: add IMX7D ADC driver support

2015-11-24 Thread Stefan Agner
Hi Haibo, Some comments below: On 2015-11-20 07:48, Haibo Chen wrote: > Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC > driver support, and the driver only support ADC software trigger. > > Signed-off-by: Haibo Chen > --- > drivers/iio/adc/Kconfig | 9 + > drivers/i

Re: [PATCH] ARM: dts: vf6xx: Cosmic+: M4(nommu) initial support

2015-11-24 Thread Stefan Agner
;> Signed-off-by: Afzal Mohammed > > Stefan, > > Are you okay with this patch? Looks good to me: Acked-by: Stefan Agner -- Stefan >> --- >> arch/arm/boot/dts/Makefile | 1 + >> arch/arm/boot/dts/vf610m4-cosmic.dts | 90 >> ++

[PATCH 2/4] ARM: dts: vf610-colibri: relicense vf*colibri* under GPLv2/X11

2015-11-23 Thread Stefan Agner
arch/arm/boot/dts/vf*colibri* CC: Bhuvanchandra DV CC: Cory Tusar CC: Sanchayan Maity Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 40 --- arch/arm/boot/dts/vf-colibri.dtsi | 40 --- arch/arm/boot/dts/vf500

[PATCH 4/4] ARM: dts: vf610-twr: relicense vf610-twr.dts under GPLv2/X11

2015-11-23 Thread Stefan Agner
): git shortlog -sne --no-merges arch/arm/boot/dts/vf610-twr.dts CC: Bill Pringlemeir CC: Chao Fu CC: Cory Tusar CC: Cosmin Stoica CC: Fugang Duan CC: Jingchang Lu CC: Shawn Guo CC: Xiubo Li Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 40

[PATCH 3/4] ARM: dts: vf610-cosmic: relicense vf610-cosmic.dts under GPLv2/X11

2015-11-23 Thread Stefan Agner
): git shortlog -sne --no-merges arch/arm/boot/dts/vf610-cosmic.dts CC: Cory Tusar CC: Matt Porter CC: Olof Johansson CC: Shawn Guo Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-cosmic.dts | 40 ++ 1 file changed, 36 insertions(+), 4 deletions

[PATCH 0/4] ARM: dts: vf610: relicense the device trees under GPLv2/X11

2015-11-23 Thread Stefan Agner
Shijie CC: Jingchang Lu CC: Jingchang Lu CC: Lucas Stach CC: Matt Porter CC: Olof Johansson CC: Sanchayan Maity CC: Shawn Guo CC: Stephen Warren CC: Xiubo Li CC: Yuan Yao Stefan Agner (4): ARM: dts: vf610: relicense vf???.dtsi under GPLv2/X11 ARM: dts: vf610-colibri: relicense vf

[PATCH 1/4] ARM: dts: vf610: relicense vf???.dtsi under GPLv2/X11

2015-11-23 Thread Stefan Agner
: Xiubo Li CC: Yuan Yao Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf500.dtsi | 40 arch/arm/boot/dts/vf610.dtsi | 40 arch/arm/boot/dts/vfxxx.dtsi | 40 3 files changed

Re: [PATCH] ARM: dts: vfxxx: Include support for dspi[23] functionality.

2015-11-18 Thread Stefan Agner
Verified too, looks good to me. Acked-by: Stefan Agner -- Stefan On 2015-11-18 19:54, Cory Tusar wrote: > Extend the existing Vybrid DSPI devicetree implementation to also > describe the dspi2 and dspi3 functional blocks. > > Signed-off-by: Cory Tusar > --- > arch/arm/b

Re: [PATCH] ARM: dts: vfxxx: Fix dspi[01] spi-num-chipselects.

2015-11-18 Thread Stefan Agner
On 2015-11-18 19:54, Cory Tusar wrote: > Per the Vybrid Reference Manual (section 3.8.6.1), dspi0 has 6 chip > select signals associated with it, while dspi1 has only 4. That is right, verified by in my RM! Acked-by: Stefan Agner > > Signed-off-by: Cory Tusar > --- >

Re: [PATCH 1/3] ARM: imx: clk-vf610: fix SAI clock tree

2015-11-18 Thread Stefan Agner
Hi Shawn, Any thoughts on that patchset? I kind of hoped that it would make it into 4.4 since it actually fixes issues (at least 1 and 2)... That said, I don't think it is stable material since it also breaks the device tree... -- Stefan On 2015-10-17 21:05, Stefan Agner wrote:

[PATCH 2/3] ARM: dts: vf610: fix clock definition for SAI2

2015-10-17 Thread Stefan Agner
first being the bus clock itself). See chapter 8.10.1.2.3 of the Vybrid Reference manual ("SAI transmitter and receiver options for MCLK selection"). Note: The audio clocks are only required in master mode. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 6 -- 1 fi

[PATCH 1/3] ARM: imx: clk-vf610: fix SAI clock tree

2015-10-17 Thread Stefan Agner
clocking in the Vybrid Reference Manual). Fix this by define the parent clock of VF610_CLK_SAIx to be the bus clock. If the driver needs the audio clock (when used in master mode), a fixed device tree is required which assign the audio clock properly to VF610_CLK_SAIx_DIV. Signed-off-by: Stefan

[PATCH 3/3] ARM: dts: vf610: add remaining SAI instaces

2015-10-17 Thread Stefan Agner
for SAI3 fine. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 42 ++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index c2a4d1c..b45bc81 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi

[PATCH] of/fdt: fix aliases with baudrate in earlycon

2015-10-10 Thread Stefan Agner
fdt_path_offset_namelen variant and provide the length of the alias to enable aliases with console options in the stdout-path. Signed-off-by: Stefan Agner --- Hi, Stumbled upon this while testing 32-bit ARM earlycon support. It seems that this once already came up on the list: https://lkml.org/lkml

[PATCH v13 1/2] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-10-07 Thread Stefan Agner
Bill Pringlemeir Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- Hi Shawn, This are the rebased dt changes of the Vybrid MTD NAND driver patchset. The driver part has recently been merged: https://lkml.org/lkml/2015/9/2/678 The driver is lined up fo 4.4, I hope those changes make it int

[PATCH v13 2/2] ARM: dts: vf-colibri: enable NAND flash controller

2015-10-07 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot

Re: [PATCH v12 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-10-07 Thread Stefan Agner
Hi Brian, On 2015-09-29 13:57, Brian Norris wrote: > Pushed this patch to l2-mtd.git, as it looks pretty much good. Although, > I'd like raw read support... > > On Wed, Sep 02, 2015 at 06:06:34PM -0700, Stefan Agner wrote: >> This adds hardware ECC support using the BC

[PATCH v12 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-09-02 Thread Stefan Agner
additional code. Signed-off-by: Bill Pringlemeir Tested-by: Albert ARIBAUD Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 686

[PATCH v12 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-09-02 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Acked-by: Shawn Guo Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git a

[PATCH v12 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-09-02 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot

[PATCH v12 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-09-02 Thread Stefan Agner
Bill Pringlemeir Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 47 + arch/arm/boot/dts/vfxxx.dtsi| 10 + 2 files changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boo

[PATCH v12 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-09-02 Thread Stefan Agner
command time. At this point we do not have the information whether it is a raw read or a regular read at driver level... Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 203

[PATCH v12 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-09-02 Thread Stefan Agner
60 bytes on 64 byte OOB - Removed custom (downstream) BBT pattern since BBT table won't be compatible anyway (due to the change above) Stefan Agner (5): mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others mtd: nand: vf610_nfc: add hardware BCH-ECC support mtd: nand: vf610_

Re: [PATCH v11 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-09-01 Thread Stefan Agner
On 2015-08-27 17:34, Stefan Agner wrote: > +static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat, > + uint8_t *oob, int page) > +{ > + struct vf610_nfc *nfc = mtd_to_nfc(mtd); > + u32 ecc_status_off =

[PATCH v11 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-08-27 Thread Stefan Agner
Bill Pringlemeir Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 47 + arch/arm/boot/dts/vfxxx.dtsi| 10 + 2 files changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boo

[PATCH v11 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-08-27 Thread Stefan Agner
command time. At this point we do not have the information whether it is a raw read or a regular read at driver level... Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 204

[PATCH v11 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-08-27 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot

[PATCH v11 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-08-27 Thread Stefan Agner
additional code. Signed-off-by: Bill Pringlemeir Tested-by: Albert ARIBAUD Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 690

[PATCH v11 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-08-27 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Acked-by: Shawn Guo Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git a

[PATCH v11 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-08-27 Thread Stefan Agner
s [ 2416.104833] mtd_speedtest: finished [ 2416.108379] ===== Stefan Agner (5): mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others mtd: nand: vf610_nfc: add hardware BCH-ECC support mtd: nand: vf610_nfc: add device tree bindings ARM: dts: vf6

Re: [PATCH v10 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-08-27 Thread Stefan Agner
On 2015-08-27 09:34, Brian Norris wrote: > On Wed, Aug 26, 2015 at 06:02:31PM -0700, Stefan Agner wrote: >> On 2015-08-25 13:16, Brian Norris wrote: >> > On Mon, Aug 03, 2015 at 11:27:26AM +0200, Stefan Agner wrote: >> >> diff --git a/drivers/mtd/nand/vf610_nfc.c

Re: [PATCH v10 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-08-26 Thread Stefan Agner
On 2015-08-25 13:34, Brian Norris wrote: > One more thing... > > On Mon, Aug 03, 2015 at 11:27:26AM +0200, Stefan Agner wrote: >> --- /dev/null >> +++ b/drivers/mtd/nand/vf610_nfc.c >> @@ -0,0 +1,645 @@ > ... >> +struct vf610_nfc { >> +struct m

Re: [PATCH v10 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-08-26 Thread Stefan Agner
On 2015-08-25 13:16, Brian Norris wrote: > A few more comments. > > On Mon, Aug 03, 2015 at 11:27:26AM +0200, Stefan Agner wrote: >> diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c >> new file mode 100644 >> index 000..5c8dfe8 >> -

Re: [PATCH v10 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-08-26 Thread Stefan Agner
On 2015-08-26 08:39, Boris Brezillon wrote: > Hi Bill, > > On Wed, 26 Aug 2015 11:26:36 -0400 > Bill Pringlemeir wrote: > >> On 25 Aug 2015, computersforpe...@gmail.com wrote: >> >> > Sorry, I realized a potential issue here. >> >> > On Mon, A

Re: [PATCH v10 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-08-26 Thread Stefan Agner
On 2015-08-25 12:54, Brian Norris wrote: > On Mon, Aug 03, 2015 at 11:28:43AM +0200, Stefan Agner wrote: >> On 2015-08-03 11:27, Stefan Agner wrote: >> >> > +static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t >> > *dat, >> > +

Re: [PATCH v4 1/3] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-08-22 Thread Stefan Agner
On 2015-08-21 06:26, Sanchayan Maity wrote: > Add device tree node for touchscreen support on Colibri VF50. The > touchscreen functionality on VF50 uses the ADC channels of Vybrid > and some GPIOs. Also add pinctrl nodes for proper pinmux. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot

Re: [PATCH v4 3/3] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-22 Thread Stefan Agner
would lead to a bug. Can you check the amount of channels returned? The returned list is explicitly terminated with a null entry, you can rely on that. Something similar to hwmon should do the job. http://lxr.free-electrons.com/source/drivers/hwmon/iio_hwmon.c#L86 Otherwise, Acked-by: Stefan Agner

Re: [PATCH v4 2/3] input: Add DT binding documentation for Colibri VF50 touchscreen

2015-08-22 Thread Stefan Agner
TYPE_LEVEL_LOW>; > + pinctrl-names = "idle","default","gpios"; > + pinctrl-0 = <&pinctrl_touchctrl_idle>; > + pinctrl-1 = <&pinctrl_touchctrl_default>; > + pinctrl-2 = <&pinctrl_touchc

Re: [PATCH v5 2/2] ARM: dts: add property for maximum ADC clock frequencies

2015-08-03 Thread Stefan Agner
Hi Shawn, I guess this will go through your tree? Haven't seen it appear on imx/dt so far... -- Stefan On 2015-06-07 18:56, Jonathan Cameron wrote: > On 27/05/15 13:47, Stefan Agner wrote: >> The ADC clock frequency is limited depending on modes used. Add >> device tree pro

Re: [PATCH v10 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-08-03 Thread Stefan Agner
Hi Brian, On 2015-08-03 11:27, Stefan Agner wrote: > +static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat, > + uint8_t *oob, int oob_loaded) > +{ > + struct vf610_nfc *nfc = mtd_to_nfc(mtd); > + u8 ecc_sta

[PATCH v10 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-08-03 Thread Stefan Agner
Tested-by: Albert ARIBAUD Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 645 +++ 4 files changed, 661 insertions(+) create

[PATCH v10 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-08-03 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot

[PATCH v10 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-08-03 Thread Stefan Agner
common nand_write_page_raw implementation, however raw reads are not possible since the hardware ECC mode need to be enabled at command time. Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 206

[PATCH v10 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-08-03 Thread Stefan Agner
Bill Pringlemeir Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 40 arch/arm/boot/dts/vfxxx.dtsi| 8 2 files changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boo

[PATCH v10 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-08-03 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Acked-by: Shawn Guo Reviewed-by: Brian Norris Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610

[PATCH v10 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-08-03 Thread Stefan Agner
e won't be compatible anyway (due to the change above) *** SUBJECT HERE *** *** BLURB HERE *** Stefan Agner (5): mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others mtd: nand: vf610_nfc: add hardware BCH-ECC support mtd: nand: vf610_nfc: add device tree bindings ARM: dts: vf6

Re: [PATCH v9 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-07-31 Thread Stefan Agner
On 2015-08-01 01:47, Brian Norris wrote: > On Sat, Aug 01, 2015 at 01:35:52AM +0200, Stefan Agner wrote: >> On 2015-08-01 01:09, Brian Norris wrote: > >> >> +static int vf610_nfc_read_page(struct mtd_info *mtd, struct nand_chip >> >> *chip, >> >

Re: [PATCH v9 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-07-31 Thread Stefan Agner
Hi Brian, On 2015-08-01 01:09, Brian Norris wrote: >> +static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat) >> +{ >> +struct vf610_nfc *nfc = mtd_to_nfc(mtd); >> +u8 ecc_status; >> +u8 ecc_count; >> +int flip; >> + >> +ecc_status = __raw_readb(nfc->regs

Re: [PATCH v9 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-07-31 Thread Stefan Agner
On 2015-07-31 18:52, Stefan Agner wrote: > Signed-off-by: Bill Pringlemeir > Signed-off-by: Stefan Agner Actually just realized that I forgot to collect the Ack of Shawn, will add that in next revision as well. FWIW, dispatching to some recipients have been deferred (e.g. the mailing

Re: [PATCH v2] ARM: dts: vf-colibri: define stdout-path property

2015-07-31 Thread Stefan Agner
Hi Shawn, Did you notice this change? Just asking since you applied some other changes already... -- Stefan On 2015-07-15 16:50, Stefan Agner wrote: > Define Vybrid's UART0, connected to the Colibri pinout UART_A, as > standard output. > > Signed-off-by: Stefan Agner >

[PATCH v9 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-07-31 Thread Stefan Agner
0-bytes to correct up to 32 bit errors - Changed to in-band BBT (NAND_BBT_NO_OOB) which also allows ECC modes which uses up to 60 bytes on 64 byte OOB - Removed custom (downstream) BBT pattern since BBT table won't be compatible anyway (due to the change above) Stefan Agner (5): mtd:

Re: [PATCH v7 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-07-31 Thread Stefan Agner
Hi Alexey, [converted back to plain text] On 2015-08-01 00:54, Alexey Klimov wrote: > just two small questions. > > On Jul 24, 2015 4:20 PM, "Stefan Agner" wrote: >> >> This driver supports Freescale NFC (NAND flash controller) found on >> Vybrid (VF61

[PATCH v9 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-07-31 Thread Stefan Agner
Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 644 +++ 4 files changed, 660 insertions(+) create mode 100644 drivers/mtd

[PATCH v9 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-07-31 Thread Stefan Agner
common nand_write_page_raw implementation, however raw reads are not possible since the hardware ECC mode need to be enabled at command time. Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 201

[PATCH v9 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-07-31 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git a/Documentation/devicetree

[PATCH v9 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-07-31 Thread Stefan Agner
Bill Pringlemeir Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 40 arch/arm/boot/dts/vfxxx.dtsi| 8 2 files changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 37

Re: [PATCH v8 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-07-31 Thread Stefan Agner
Hi Albert, On 2015-07-30 18:13, Albert ARIBAUD wrote: > Hi Stefan, > > Le Mon, 27 Jul 2015 18:42:41 +0200, Stefan Agner a > écrit : > >> This driver supports Freescale NFC (NAND flash controller) found on >> Vybrid (VF610), MPC5125, MCF54418 and Kinetis K70. The dri

[PATCH v9 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-07-31 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 32

[PATCH v8 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-07-27 Thread Stefan Agner
ved custom (downstream) BBT pattern since BBT table won't be compatible anyway (due to the change above) Stefan Agner (5): mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others mtd: nand: vf610_nfc: add hardware BCH-ECC support mtd: nand: vf610_nfc: add device tree bindings ARM

[PATCH v8 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-07-27 Thread Stefan Agner
common nand_write_page_raw implementation, however raw reads are not possible since the hardware ECC mode need to be enabled at command time. Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 201

[PATCH v8 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-07-27 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 32

[PATCH v8 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-07-27 Thread Stefan Agner
Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 640 +++ 4 files changed, 656 insertions(+) create mode 100644 drivers/mtd

[PATCH v8 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-07-27 Thread Stefan Agner
Bill Pringlemeir Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 40 arch/arm/boot/dts/vfxxx.dtsi| 8 2 files changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 37

[PATCH v8 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-07-27 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git a/Documentation/devicetree

[PATCH v7 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-07-24 Thread Stefan Agner
Signed-off-by: Stefan Agner --- MAINTAINERS | 6 + drivers/mtd/nand/Kconfig | 9 + drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/vf610_nfc.c | 640 +++ 4 files changed, 656 insertions(+) create mode 100644 drivers/mtd

[PATCH v7 3/5] mtd: nand: vf610_nfc: add device tree bindings

2015-07-24 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git a/Documentation/devicetree

[PATCH v7 4/5] ARM: dts: vf610twr: add NAND flash controller peripherial

2015-07-24 Thread Stefan Agner
Bill Pringlemeir Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-twr.dts | 44 + arch/arm/boot/dts/vfxxx.dtsi| 8 2 files changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 37

[PATCH v7 5/5] ARM: dts: vf-colibri: enable NAND flash controller

2015-07-24 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 32

[PATCH v7 2/5] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-07-24 Thread Stefan Agner
common nand_write_page_raw implementation, however raw reads are not possible since the hardware ECC mode need to be enabled at command time. Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- drivers/mtd/nand/Kconfig | 6 +- drivers/mtd/nand/vf610_nfc.c | 201

[PATCH v7 0/5] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-07-24 Thread Stefan Agner
- Support ECC with 60-bytes to correct up to 32 bit errors - Changed to in-band BBT (NAND_BBT_NO_OOB) which also allows ECC modes which uses up to 60 bytes on 64 byte OOB - Removed custom (downstream) BBT pattern since BBT table won't be compatible anyway (due to the change above) Stefan A

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-07-21 Thread Stefan Agner
Hi Dmitry, As the original author of the driver I have some remarks to your review On 2015-07-18 01:42, Dmitry Torokhov wrote: >> +/* >> + * If touch pressure is too low, stop measuring and reenable >> + * touch detection >> + */ >> +if

[PATCH v2] ARM: dts: vf-colibri: define stdout-path property

2015-07-15 Thread Stefan Agner
Define Vybrid's UART0, connected to the Colibri pinout UART_A, as standard output. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/d

Re: [PATCH] ARM: dts: vf-colibri: define stdout-path property

2015-07-15 Thread Stefan Agner
On 2015-07-13 17:10, Shawn Guo wrote: > On Fri, Jul 03, 2015 at 10:06:39AM +0200, Stefan Agner wrote: >> Define Vybrid's UART0, connected to the Colibri pinout UART_A, as >> standard output. >> >> Signed-off-by: Stefan Agner >> --- >> arch/arm/boot/

Re: [PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time

2015-07-15 Thread Stefan Agner
On 2015-07-15 03:57, Shawn Guo wrote: > On Tue, Jul 14, 2015 at 07:23:23PM +0530, Sanchayan Maity wrote: >> Add a device tree property which allows to specify the minimum sample >> time which can be used to calculate the actual ADC cycles required >> depending on the hardware. >> >> Signed-off-by:

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-07-12 Thread Stefan Agner
On 2015-07-12 08:47, maitysancha...@gmail.com wrote: > Hello Jonathan, > > On 15-07-11 18:39:10, Jonathan Cameron wrote: >> On 10/07/15 19:06, maitysancha...@gmail.com wrote: >> > Hello Shawn, >> > >> > On 15-07-10 16:53:24, Shawn Guo wrote: >> >> On Wed, Jun 24, 2015 at 02:03:41PM +0530, Sanchaya

Re: [PATCH v6 4/6] ARM: vf610: enable NAND Flash Controller

2015-07-09 Thread Stefan Agner
On 2015-07-09 03:55, Shawn Guo wrote: > On Wed, Jul 08, 2015 at 10:32:54AM -0400, Bill Pringlemeir wrote: >> >> On 8 Jul 2015, shawn...@kernel.org wrote: >> > On Fri, Jun 19, 2015 at 12:58:37AM +0200, Stefan Agner wrote: >> >> Enable the NAND Flash Controlle

Re: [PATCH 1/1] ARM: dts: vfxxx: Include support for esdhc0 functionality.

2015-07-09 Thread Stefan Agner
ry Tusar Looks good to me: Acked-by: Stefan Agner > --- > arch/arm/boot/dts/vfxxx.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi > index 4aa3351..7e97017 100644 > --- a/arch/arm/boo

Re: [PATCH 0/1] Add support for esdhc0 on Vybrid.

2015-07-08 Thread Stefan Agner
On 2015-07-09 08:07, Holger Schurig wrote: >> Cory Tusar (1): >> ARM: dts: vfxxx: Include support for esdhc0 functionality. >> >> arch/arm/boot/dts/vfxxx.dtsi | 11 +++ >> 1 file changed, 11 insertions(+) >> >> -- >> 2.3.6 > > Your patch looks empty. This is a cover letter which provid

Re: [PATCH v2 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-07-06 Thread Stefan Agner
which distorts the next measurements. We noticed this when using the touch screen while measuring the SoC temperature. The required sampling time is partly given by the SoC, but depends on the connected analog source too. A device tree property is the right approach here. Acked-by: Stefan Agner

Re: [PATCH v1 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-07-03 Thread Stefan Agner
Hi Sanchayan, I wrote the driver some while ago, so reading it today again feels like reading someone else's code again :-) Some minor nits below: On 2015-06-30 08:54, Sanchayan Maity wrote: > The Colibri Vybrid VF50 module supports 4-wire touchscreens using > FETs and ADC inputs. This driver us

Re: [PATCH v1 2/4] ARM: dts: vf500-colibri: Add device tree node for touchscreen support

2015-07-03 Thread Stefan Agner
On 2015-06-30 08:54, Sanchayan Maity wrote: > Add device tree node for touchscreen support on Colibri VF50. The > touchscreen functionality on VF50 uses the ADC channels of Vybrid > and some GPIOs. Also add pinctrl nodes for proper pinmux. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot

Re: [PATCH v1 1/4] ARM: dts: vfxxx: Add io-channel-cells property for ADC node

2015-07-03 Thread Stefan Agner
ames = "adc"; > status = "disabled"; > + #io-channel-cells = <1>; > }; > > esdhc1: esdhc@400b2000 { Minor nitpick: can you put the new property one line up? That w

[PATCH] ARM: dts: vf-colibri: define stdout-path property

2015-07-03 Thread Stefan Agner
Define Vybrid's UART0, connected to the Colibri pinout UART_A, as standard output. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3

Re: [RFC PATCH 2/7] ARM: dts: vfxxx: Include support for qspi1 functionality.

2015-07-02 Thread Stefan Agner
}; > + > iomuxc: iomuxc@40048000 { > compatible = "fsl,vf610-iomuxc"; > reg = <0x40048000 0x1000>; This seem to be at the wrong place under aips0. qspi1 should be under aips1. just

Re: [RFC PATCH 1/7] ARM: dts: vf610: Add missing QuadSPI register mapping and names.

2015-07-02 Thread Stefan Agner
1000>, <0x2000 > 0x1000>; > + reg-names = "QuadSPI", "QuadSPI-memory"; > interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&clks VF610_CLK_QSPI0_EN>, &

  1   2   3   4   >