>;
> + };
> + pinctrl_sd_cd: gpio_sd_cd {
> + fsl,pins = <
> + /* SD1 CD */
> + MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0
> + >;
> +
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
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
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
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
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
):
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
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
: 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
-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
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
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
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
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
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
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
;> 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
>> ++
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
):
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
):
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
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
: 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
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
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
> ---
>
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:
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
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
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
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
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
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
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
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
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
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
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
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
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_
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 =
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
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
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
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
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
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
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
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
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
>> -
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
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,
>> > +
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
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
TYPE_LEVEL_LOW>;
> + pinctrl-names = "idle","default","gpios";
> + pinctrl-0 = <&pinctrl_touchctrl_idle>;
> + pinctrl-1 = <&pinctrl_touchctrl_default>;
> + pinctrl-2 = <&pinctrl_touchc
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
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
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
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
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
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
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
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
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,
>> >
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
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
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
>
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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
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
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
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/
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:
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
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
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
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
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
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
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
ames = "adc";
> status = "disabled";
> + #io-channel-cells = <1>;
> };
>
> esdhc1: esdhc@400b2000 {
Minor nitpick: can you put the new property one line up? That w
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
};
> +
> 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
1000>, <0x2000
> 0x1000>;
> + reg-names = "QuadSPI", "QuadSPI-memory";
> interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clks VF610_CLK_QSPI0_EN>,
&
1 - 100 of 364 matches
Mail list logo