Re: [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one

2014-12-23 Thread Walter Lozano
On Mon, Dec 22, 2014 at 4:02 PM, Wolfram Sang w...@the-dreams.de wrote: On Mon, Dec 22, 2014 at 03:15:49PM -0300, Walter Lozano wrote: Currently, the driver is relying on a subsys_initcall() to register the platform driver struct. This is typically done to allow early uses of the I2C bus

[PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-23 Thread Walter Lozano
This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
On Wed, Dec 24, 2014 at 6:45 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Tue, Dec 23, 2014 at 10:04:22AM -0300, Walter Lozano wrote: This patch adds the DTS bindings for the adxl34x digital accelerometer. Thanks for doing this. Does the ADXL34 work now? Last time I tried

[PATCH v2] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

[RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one

2014-12-22 Thread Walter Lozano
be affected by this change. Legacy platforms, relying on the I2C being available early, might need to implement proper defered mechanisms to overcome potential problems. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- drivers/i2c/busses/i2c-designware-platdrv.c | 12 +--- 1

[PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-06 Thread Walter Lozano
This patch adds a basic documentation regarding the device tree bindings of adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- .../devicetree/bindings/input/adxl34x.txt | 53 1 file changed, 53 insertions(+) create mode

[PATCH 1/2] Input: adxl34x - add OF support

2015-01-06 Thread Walter Lozano
. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- drivers/input/misc/adxl34x.c | 108 +- 1 file changed, 107 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c index 2b2d02f..b3e06a3 100644

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: diff --git a/Documentation/devicetree/bindings/input/adxl34x.txt b/Documentation/devicetree/bindings/input/adxl34x.txt new file mode

Re: [PATCH 1/2] Input: adxl34x - add OF support

2015-01-07 Thread Walter Lozano
Hi Dimitry, First of all, thanks for your feedback On Wed, Jan 7, 2015 at 5:01 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Walter, On Tue, Jan 06, 2015 at 11:58:56PM -0300, Walter Lozano wrote: This patch adds the missing support for OF to the adxl34x digital accelerometer

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Thu, Jan 8, 2015 at 3:51 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Thu, Jan 8, 2015 at 6:40 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano wal

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-16 Thread Walter Lozano
On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-19 Thread Walter Lozano
Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: This patch adds the DTS bindings for the adxl34x

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-23 Thread Walter Lozano
Hi Dinh On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen dingu...@opensource.altera.com wrote: Hi Walter, On 3/19/15 4:27 PM, Walter Lozano wrote: Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-06-23 Thread Walter Lozano
On Mon, Mar 23, 2015 at 11:29 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: Hi Dinh On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen dingu...@opensource.altera.com wrote: Hi Walter, On 3/19/15 4:27 PM, Walter Lozano wrote: Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wal

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-06-25 Thread Walter Lozano
On Thu, Jun 25, 2015 at 4:28 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Tue, Jun 23, 2015 at 10:20 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Mar 23, 2015 at 11:29 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen

[PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string

2015-06-25 Thread Walter Lozano
This patch fixes the compatible string for adxl345 digital accelerometer after the deprecation of compatible string adxl345x. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/3] ARM: socfpga: dts: Fix entries order

2015-06-25 Thread Walter Lozano
This patch reorders the nodes alphabetically Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch

[PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-06-25 Thread Walter Lozano
This patch fixes the formating of DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts

Re: [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-06-26 Thread Walter Lozano
Hi Steffen On Fri, Jun 26, 2015 at 4:16 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi Walter! On Thu, Jun 25, 2015 at 11:25:57PM -0300, Walter Lozano wrote: This patch fixes the formating of DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal

Re: [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-07-07 Thread Walter Lozano
On Tue, Jul 7, 2015 at 11:00 AM, Dinh Nguyen dingu...@opensource.altera.com wrote: On 6/26/15 5:36 AM, Walter Lozano wrote: Hi Steffen On Fri, Jun 26, 2015 at 4:16 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi Walter! On Thu, Jun 25, 2015 at 11:25:57PM -0300, Walter Lozano

[PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP

2020-07-14 Thread Walter Lozano
When probing cpufreq for iMX6 the values in the efuse needs to be read which requires NVMEM_IMX_OCOTP. If this option is not enabled, the probe will be deferred forever and cpufreq won't be available. This patch forces the selection of the required configuration option. Signed-off-by: Walter

[PATCH] opp: Increase parsed_static_opps on _of_add_opp_table_v1

2020-07-15 Thread Walter Lozano
increases parsed_static_opps on _of_add_opp_table_v1 in a similar way as in _of_add_opp_table_v2. Signed-off-by: Walter Lozano --- drivers/opp/of.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/opp/of.c b/drivers/opp/of.c index 9a5873591a40..b2bc82bf8b42 100644 --- a/drivers/opp

Re: [PATCH] opp: Increase parsed_static_opps on _of_add_opp_table_v1

2020-07-16 Thread Walter Lozano
Hi Viresh, On 16/7/20 00:22, Viresh Kumar wrote: On 15-07-20, 23:54, Walter Lozano wrote: Currently, when using _of_add_opp_table_v2 parsed_static_opps is increased and this value is used on _opp_remove_all_static to check if there are static opps entries that need to be freed. Unfortunately

[PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-06 Thread Walter Lozano
This patch adds a basic documentation regarding the device tree bindings of adxl34x digital accelerometer. Signed-off-by: Walter Lozano --- .../devicetree/bindings/input/adxl34x.txt | 53 1 file changed, 53 insertions(+) create mode 100644 Documentation

[PATCH 1/2] Input: adxl34x - add OF support

2015-01-06 Thread Walter Lozano
. Signed-off-by: Walter Lozano --- drivers/input/misc/adxl34x.c | 108 +- 1 file changed, 107 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c index 2b2d02f..b3e06a3 100644 --- a/drivers/input/misc

Re: [PATCH 1/2] Input: adxl34x - add OF support

2015-01-07 Thread Walter Lozano
Hi Dimitry, First of all, thanks for your feedback On Wed, Jan 7, 2015 at 5:01 AM, Dmitry Torokhov wrote: > Hi Walter, > > On Tue, Jan 06, 2015 at 11:58:56PM -0300, Walter Lozano wrote: >> This patch adds the missing support for OF to the adxl34x digital >> accelerom

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven wrote: > On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano > wrote: >> diff --git a/Documentation/devicetree/bindings/input/adxl34x.txt >> b/Documentation/devicetree/bindings/input/adxl34x.txt >> new file mode 100644 &

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-23 Thread Walter Lozano
Hi Dinh On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen wrote: > Hi Walter, > > On 3/19/15 4:27 PM, Walter Lozano wrote: >> Hi Dinh, >> >> On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano >> wrote: >>> On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar >

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-19 Thread Walter Lozano
Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wrote: > On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar > wrote: >> Hi! >> >> On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: >>> This patch adds the DTS bindings for the adxl34x digital

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-16 Thread Walter Lozano
On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar wrote: > Hi! > > On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: >> This patch adds the DTS bindings for the adxl34x digital >> accelerometer. >> >> Signed-off-by: Walter Loz

Re: [PATCH 2/2] Input: adxl34x - add device tree documentation

2015-01-08 Thread Walter Lozano
On Thu, Jan 8, 2015 at 3:51 PM, Geert Uytterhoeven wrote: > On Thu, Jan 8, 2015 at 6:40 PM, Walter Lozano > wrote: >> On Wed, Jan 7, 2015 at 6:42 AM, Geert Uytterhoeven >> wrote: >>> On Wed, Jan 7, 2015 at 3:58 AM, Walter Lozano >>> wrote: >>>>

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-06-23 Thread Walter Lozano
On Mon, Mar 23, 2015 at 11:29 PM, Walter Lozano wrote: > Hi Dinh > > On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen > wrote: >> Hi Walter, >> >> On 3/19/15 4:27 PM, Walter Lozano wrote: >>> Hi Dinh, >>> >>> On Mon, Mar 16, 2015 at 10:10 AM

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-06-25 Thread Walter Lozano
On Thu, Jun 25, 2015 at 4:28 AM, Geert Uytterhoeven wrote: > On Tue, Jun 23, 2015 at 10:20 PM, Walter Lozano > wrote: >> On Mon, Mar 23, 2015 at 11:29 PM, Walter Lozano >> wrote: >>> On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen >>> wrote: >>

[PATCH 2/3] ARM: socfpga: dts: Fix entries order

2015-06-25 Thread Walter Lozano
This patch reorders the nodes alphabetically Signed-off-by: Walter Lozano --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts

[PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-06-25 Thread Walter Lozano
This patch fixes the formating of DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch

[PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string

2015-06-25 Thread Walter Lozano
This patch fixes the compatible string for adxl345 digital accelerometer after the deprecation of compatible string adxl345x. Signed-off-by: Walter Lozano --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

Re: [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-06-26 Thread Walter Lozano
Hi Steffen On Fri, Jun 26, 2015 at 4:16 AM, Steffen Trumtrar wrote: > Hi Walter! > > On Thu, Jun 25, 2015 at 11:25:57PM -0300, Walter Lozano wrote: >> This patch fixes the formating of DTS bindings for the adxl34x digital >> accelerometer. >> >> Signed-off-by: W

Re: [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-07-07 Thread Walter Lozano
On Tue, Jul 7, 2015 at 11:00 AM, Dinh Nguyen wrote: > > > On 6/26/15 5:36 AM, Walter Lozano wrote: >> Hi Steffen >> >> On Fri, Jun 26, 2015 at 4:16 AM, Steffen Trumtrar >> wrote: >>> Hi Walter! >>> >>> On Thu, Jun 25, 2015 at

[RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one

2014-12-22 Thread Walter Lozano
be affected by this change. Legacy platforms, relying on the I2C being available early, might need to implement proper defered mechanisms to overcome potential problems. Signed-off-by: Walter Lozano --- drivers/i2c/busses/i2c-designware-platdrv.c | 12 +--- 1 file changed, 1 insertion

Re: [RFC] i2c: designware: Avoid initcall and initialize the driver like a regular one

2014-12-23 Thread Walter Lozano
On Mon, Dec 22, 2014 at 4:02 PM, Wolfram Sang wrote: > On Mon, Dec 22, 2014 at 03:15:49PM -0300, Walter Lozano wrote: >> Currently, the driver is relying on a subsys_initcall() to register >> the platform driver struct. This is typically done to allow early uses >> of the

[PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-23 Thread Walter Lozano
This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts

Re: [PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
On Wed, Dec 24, 2014 at 6:45 AM, Steffen Trumtrar wrote: > Hi! > > On Tue, Dec 23, 2014 at 10:04:22AM -0300, Walter Lozano wrote: >> This patch adds the DTS bindings for the adxl34x digital >> accelerometer. >> > > Thanks for doing this. Does the ADXL34 work now?

[PATCH v2] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts