[PATCH v6 1/2] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-02-10 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v6 2/2] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-02-10 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Tested-by: Chris Healy Reviewed-by: Vladimir Zapolskiy --- drivers/misc/eeprom/eeprom_93xx46.c | 35

[PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46.

2016-02-10 Thread Cory Tusar
values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (2): misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device. misc: eeprom_93xx46: Add support for a GPIO 'select' line. drivers/misc/eeprom/eeprom_93xx46.c | 161

[PATCH v6 1/2] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-02-10 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46.

2016-02-10 Thread Cory Tusar
d compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (2): misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device. misc: eeprom_93xx46: Add support for a GPIO 'select' line. drivers/misc/eeprom/eeprom_93

[PATCH v6 2/2] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-02-10 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> Reviewed-by: Vladimir

[PATCH v5 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-01-06 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Tested-by: Chris Healy Reviewed-by: Vladimir Zapolskiy --- drivers/misc/eeprom/eeprom_93xx46.c | 35

[PATCH v5 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-01-06 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v5 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2016-01-06 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar Tested-by: Chris Healy Reviewed-by: Vladimir Zapolskiy --- drivers/misc/eeprom/eeprom_93xx46.c | 49

[PATCH v5 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2016-01-06 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v5 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2016-01-06 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Acked-by: Rob Herring Tested-by: Chris Healy --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom

[PATCH v5 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2016-01-06 Thread Cory Tusar
compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver. misc: eeprom_93xx46: Implement

[PATCH v5 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-01-06 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> Reviewed-by: Vladimir

[PATCH v5 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-01-06 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v5 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2016-01-06 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> Reviewed-by: Vladimir Zapolskiy <

[PATCH v5 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2016-01-06 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> --- drivers/misc/eeprom/eeprom_

[PATCH v5 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2016-01-06 Thread Cory Tusar
ee additions into a single patch. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings to eeprom_93xx46 dr

[PATCH v5 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2016-01-06 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Acked-by: Rob Herring <r...@kernel.org> Tested-by: Chris Healy <chris.he...@zii.aero> --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++

Re: [PATCH v4 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:30 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit adds support to the eeprom_93x46 driver allowing a GPIO line >> to function as a 'select' or 'enable' sign

Re: [PATCH v4 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:19 PM, Vladimir Zapolskiy wrote: > > > With best wishes, > Vladimir > > On 10.12.2015 06:00, Cory Tusar wrote: >> Atmel devices in this family have some quirks not found in other similar >> chips - th

Re: [PATCH v4 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:12 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit implements bindings in the eeprom_93xx46 driver allowing >> device word size and read-only attribute

Re: [PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:01 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which will allow: >> >> - Device w

Re: [PATCH v4 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:12 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit implements bindings in the eeprom_93xx46 driver allowing >> device word size and read-only attribute

Re: [PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:01 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which will allow: >> >> - Device w

Re: [PATCH v4 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:19 PM, Vladimir Zapolskiy wrote: > > > With best wishes, > Vladimir > > On 10.12.2015 06:00, Cory Tusar wrote: >> Atmel devices in this family have some quirks not found in other similar >> chips - th

Re: [PATCH v4 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2016-01-05 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2015 07:30 PM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 10.12.2015 06:00, Cory Tusar wrote: >> This commit adds support to the eeprom_93x46 driver allowing a GPIO line >> to function as a 'select' or 'enable' sign

[PATCH v4 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-12-09 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 49 + 1 file changed, 49

[PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-12-09 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Acked-by: Rob Herring Tested-by: Chris Healy --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom

[PATCH v4 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-12-09 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v4 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-12-09 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v4 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-12-09 Thread Cory Tusar
(and fixed an oversight where GPIO flags were being ignored). Changes since v1: - Consolidated all Documentation/devictree additions into a single patch. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory

[PATCH v4 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-12-09 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 35 +++ include/linux

[PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-12-09 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Acked-by: Rob Herring <r...@kernel.org> Tested-by: Chris Healy <chris.he...@zii.aero> --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++

[PATCH v4 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-12-09 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v4 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-12-09 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> --- drivers/misc/eeprom/eeprom_9

[PATCH v4 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-12-09 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> --- drivers/misc/eeprom/eeprom_

[PATCH v4 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-12-09 Thread Cory Tusar
inding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver. misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings. misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

[PATCH v4 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-12-09 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Tested-by: Chris Healy <chris.he...@zii.aero> --- drivers/misc/eeprom/eeprom_9

[PATCH v3 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-24 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar Acked-by: Rob Herring --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom-93xx46.txt b/Documentation

[PATCH v3 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-24 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 35 +++ include/linux/eeprom_93xx46.h

[PATCH v3 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-24 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v3 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-24 Thread Cory Tusar
Documentation/devictree additions into a single patch. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings

[PATCH v3 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-24 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 49 + 1 file changed, 49 insertions(+) diff

[PATCH v3 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-11-24 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-24 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 01:05 AM, Vladimir Zapolskiy wrote: > On 19.11.2015 05:29, Cory Tusar wrote: >> This commit adds support to the eeprom_93x46 driver allowing a GPIO line >> to function as a 'select' or 'enable' signal prior to accessin

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-24 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 01:05 AM, Vladimir Zapolskiy wrote: > On 19.11.2015 05:29, Cory Tusar wrote: >> This commit adds support to the eeprom_93x46 driver allowing a GPIO line >> to function as a 'select' or 'enable' signal prior to accessin

[PATCH v3 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-11-24 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions

[PATCH v3 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-24 Thread Cory Tusar
Documentation/devictree additions into a single patch. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings

[PATCH v3 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-24 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 49 +

[PATCH v3 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-24 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 35 +++ i

[PATCH v3 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-24 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v3 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-24 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> Acked-by: Rob Herring <r...@kernel.org> --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentatio

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-23 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/21/2015 01:36 PM, Vladimir Zapolskiy wrote: > On 21.11.2015 06:40, Cory Tusar wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/19/2015 12:50 AM, Vladimir Zapolskiy wrote: >>> Hi Cory, >

Re: [PATCH v2 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-23 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 12:59 AM, Vladimir Zapolskiy wrote: > On 19.11.2015 05:29, Cory Tusar wrote: >> Atmel devices in this family have some quirks not found in other similar >> chips - they do not support a sequential read of the entire EEP

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-23 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/21/2015 01:36 PM, Vladimir Zapolskiy wrote: > On 21.11.2015 06:40, Cory Tusar wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/19/2015 12:50 AM, Vladimir Zapolskiy wrote: >>> Hi Cory, >

Re: [PATCH v2 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-23 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 12:59 AM, Vladimir Zapolskiy wrote: > On 19.11.2015 05:29, Cory Tusar wrote: >> Atmel devices in this family have some quirks not found in other similar >> chips - they do not support a sequential read of the entire EEP

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-20 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 09:00 AM, Andrew F. Davis wrote: > On 11/18/2015 11:50 PM, Vladimir Zapolskiy wrote: >> Hi Cory, >> >> On 19.11.2015 05:29, Cory Tusar wrote: >>> This commit implements bindings in the eeprom_93xx46 driver

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-20 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 12:50 AM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 19.11.2015 05:29, Cory Tusar wrote: >> This commit implements bindings in the eeprom_93xx46 driver allowing >> device word size and read-only attribute

Re: [PATCH v1 3/7] mtd: fsl-quadspi: Support both 24- and 32-bit addressed commands.

2015-11-20 Thread Cory Tusar
s... We'd had a board which only included a device on QSPI0_B_CS0, whereas the driver assumed that the channels would be populated in order (e.g. QSPI0_A_CS0 first and then QSPI0_B_CS0)...that configuration was what originally drove my changes. - -Cory > On Wed, Jul 08, 2015 at 04:

Re: [PATCH v1 3/7] mtd: fsl-quadspi: Support both 24- and 32-bit addressed commands.

2015-11-20 Thread Cory Tusar
s... We'd had a board which only included a device on QSPI0_B_CS0, whereas the driver assumed that the channels would be populated in order (e.g. QSPI0_A_CS0 first and then QSPI0_B_CS0)...that configuration was what originally drove my changes. - -Cory > On Wed, Jul 08, 2015 at 04:

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-20 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 12:50 AM, Vladimir Zapolskiy wrote: > Hi Cory, > > On 19.11.2015 05:29, Cory Tusar wrote: >> This commit implements bindings in the eeprom_93xx46 driver allowing >> device word size and read-only attribute

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-20 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 09:00 AM, Andrew F. Davis wrote: > On 11/18/2015 11:50 PM, Vladimir Zapolskiy wrote: >> Hi Cory, >> >> On 19.11.2015 05:29, Cory Tusar wrote: >>> This commit implements bindings in the eeprom_93xx46 driver

Re: [PATCH v2 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-19 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 09:59 AM, Rob Herring wrote: > On Wed, Nov 18, 2015 at 10:29:38PM -0500, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which will allow: >> >> - Device word si

Re: [PATCH v2 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-19 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2015 09:59 AM, Rob Herring wrote: > On Wed, Nov 18, 2015 at 10:29:38PM -0500, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which will allow: >> >> - Device word si

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

2015-11-18 Thread Cory Tusar
Extend the existing Vybrid DSPI devicetree implementation to also describe the dspi2 and dspi3 functional blocks. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot

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

2015-11-18 Thread Cory Tusar
Per the Vybrid Reference Manual (section 3.8.6.1), dspi0 has 6 chip select signals associated with it, while dspi1 has only 4. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch

[PATCH v2 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-18 Thread Cory Tusar
. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver. misc: eeprom_93xx46

[PATCH v2 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-18 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom-93xx46.txt b/Documentation/devicetree/bindings

[PATCH v2 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-11-18 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-18 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 62 + 1 file changed, 62 insertions(+) diff

[PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-18 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include/linux/eeprom_93xx46.h | 1 + 2

[PATCH v2 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-18 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

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

2015-11-18 Thread Cory Tusar
Extend the existing Vybrid DSPI devicetree implementation to also describe the dspi2 and dspi3 functional blocks. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- arch/arm/boot/dts/vfxxx.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/ar

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

2015-11-18 Thread Cory Tusar
Per the Vybrid Reference Manual (section 3.8.6.1), dspi0 has 6 chip select signals associated with it, while dspi1 has only 4. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- arch/arm/boot/dts/vfxxx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-18 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH v2 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-11-18 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions

[PATCH v2 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-18 Thread Cory Tusar
' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom-93xx46.

[PATCH v2 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-18 Thread Cory Tusar
. - Clarified compatible string shall be only one of the supported values. - Renamed the 'select-gpio' binding to 'select-gpios'. Cory Tusar (5): misc: eeprom_93xx46: Fix 16-bit read and write accesses. Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver. misc: eeprom_93xx46

[PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-18 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 62 +

[PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-18 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include

Re: [PATCH 6/7] misc: eeprom: 93xx46: Add DT binding for a GPIO 'select' line.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:59 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:35PM -0500, Cory Tusar wrote: >> This commit documents an additional devicetree binding in the >> eeprom_93x46 driver allowing a GPIO line to functi

Re: [PATCH 4/7] misc: eeprom: 93xx46: Add DT binding for Atmel AT93C46D devices.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:56 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:33PM -0500, Cory Tusar wrote: >> This commit adds a compatible string to the eeprom_93xx46 devicetree >> bindings in support of Atmel AT93C46D devices. &

Re: [PATCH 2/7] misc: eeprom: 93xx46: Add DT bindings to eeprom_93xx46 driver.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:53 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:31PM -0500, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which allow device word size and read-only attributes

Re: [PATCH 2/7] misc: eeprom: 93xx46: Add DT bindings to eeprom_93xx46 driver.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:53 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:31PM -0500, Cory Tusar wrote: >> This commit documents bindings to be added to the eeprom_93xx46 driver >> which allow device word size and read-only attributes

Re: [PATCH 4/7] misc: eeprom: 93xx46: Add DT binding for Atmel AT93C46D devices.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:56 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:33PM -0500, Cory Tusar wrote: >> This commit adds a compatible string to the eeprom_93xx46 devicetree >> bindings in support of Atmel AT93C46D devices. &

Re: [PATCH 6/7] misc: eeprom: 93xx46: Add DT binding for a GPIO 'select' line.

2015-11-17 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/2015 03:59 PM, Rob Herring wrote: > On Mon, Nov 16, 2015 at 11:16:35PM -0500, Cory Tusar wrote: >> This commit documents an additional devicetree binding in the >> eeprom_93x46 driver allowing a GPIO line to functi

[PATCH 1/7] misc: eeprom: 93xx46: Fix 16-bit read and write accesses.

2015-11-16 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 5/7] misc: eeprom: 93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-16 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH 3/7] misc: eeprom: 93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-16 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 62 + 1 file changed, 62 insertions(+) diff

[PATCH 6/7] misc: eeprom: 93xx46: Add DT binding for a GPIO 'select' line.

2015-11-16 Thread Cory Tusar
This commit documents an additional devicetree binding in the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- Documentation/devicetree/bindings/misc/eeprom-93xx46.txt | 3 +++ 1 file changed, 3

[PATCH 2/7] misc: eeprom: 93xx46: Add DT bindings to eeprom_93xx46 driver.

2015-11-16 Thread Cory Tusar
a platform device. Signed-off-by: Cory Tusar --- .../devicetree/bindings/misc/eeprom-93xx46.txt | 20 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/eeprom-93xx46.txt b/Documentation/devicetree/bindings/misc/eeprom-93xx46.txt new

[PATCH 7/7] misc: eeprom: 93xx46: Add support for a GPIO 'select' line.

2015-11-16 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include/linux/eeprom_93xx46.h | 1 + 2

[PATCH 4/7] misc: eeprom: 93xx46: Add DT binding for Atmel AT93C46D devices.

2015-11-16 Thread Cory Tusar
This commit adds a compatible string to the eeprom_93xx46 devicetree bindings in support of Atmel AT93C46D devices. Signed-off-by: Cory Tusar --- Documentation/devicetree/bindings/misc/eeprom-93xx46.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 0/7] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-16 Thread Cory Tusar
-based selection of the device (e.g. for use with an SPI bus mux). Additionally, an address aliasing issue with 16-bit read and write accesses in the eeprom_93xx46 driver discovered during testing is fixed. Cory Tusar (7): misc: eeprom: 93xx46: Fix 16-bit read and write accesses. misc: eeprom

[PATCH 0/7] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-16 Thread Cory Tusar
-based selection of the device (e.g. for use with an SPI bus mux). Additionally, an address aliasing issue with 16-bit read and write accesses in the eeprom_93xx46 driver discovered during testing is fixed. Cory Tusar (7): misc: eeprom: 93xx46: Fix 16-bit read and write accesses. misc: eeprom

[PATCH 3/7] misc: eeprom: 93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-16 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 62 +

[PATCH 1/7] misc: eeprom: 93xx46: Fix 16-bit read and write accesses.

2015-11-16 Thread Cory Tusar
. This commit fixes 16-bit read and write accesses by shifting the offset parameter to account for this difference between a byte offset and a word-based address. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 4 ++-- 1 file changed, 2 insertions

[PATCH 5/7] misc: eeprom: 93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-16 Thread Cory Tusar
implementation to support non-sequential reads for consistency with other misc/eeprom drivers. Tested on a custom Freescale VF610-based platform, with an AT93C46D device attached via dspi2. The spi-gpio driver was used to allow the necessary non-byte-sized transfers. Signed-off-by: Cory Tusar

[PATCH 7/7] misc: eeprom: 93xx46: Add support for a GPIO 'select' line.

2015-11-16 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include

[PATCH 4/7] misc: eeprom: 93xx46: Add DT binding for Atmel AT93C46D devices.

2015-11-16 Thread Cory Tusar
This commit adds a compatible string to the eeprom_93xx46 devicetree bindings in support of Atmel AT93C46D devices. Signed-off-by: Cory Tusar <cory.tu...@pid1solutions.com> --- Documentation/devicetree/bindings/misc/eeprom-93xx46.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

  1   2   >