[PATCH v2] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-02-02 Thread Mike Looijmans
s found when we pulled down the reset signal for the Marvell 88E1512P PHY (because it requires at least 50ms after POR with an active clock). Looking at the reset signal with a scope revealed a short spike, point B in the artwork above. Signed-off-by: Mike Looijmans Reviewed-by: Andrew Lunn ---

Re: [PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-02-02 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-01-28 Thread Mike Looijmans
Hi Andrew, Response below... Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment

Re: [PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-01-26 Thread Mike Looijmans
See below. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

[PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-01-26 Thread Mike Looijmans
_OUT_HIGH, this removes the spike and also removes a line of code since the signal is already high. Signed-off-by: Mike Looijmans --- drivers/net/phy/mdio_bus.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c ind

[PATCH v8 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-25 Thread Mike Looijmans
The BMI088 is a combined module with both accelerometer and gyroscope. This adds the accelerometer driver support for the SPI interface. The gyroscope part is already supported by the BMG160 driver. Signed-off-by: Mike Looijmans --- Changes in v8: include order asm/ after linux/ Suspend/resume

[PATCH v8 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-25 Thread Mike Looijmans
This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- Changes in v8: Add spi-max-frequency: true Changes in v7: Add additionalProperties Change bmi088_accel to bmi088-accel Add interrupt-names and adjust description

Re: [PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-25 Thread Mike Looijmans
See below Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

Re: [PATCH v7 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-24 Thread Mike Looijmans
See below Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

[PATCH v7 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-21 Thread Mike Looijmans
This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- Changes in v7: Add additionalProperties Change bmi088_accel to bmi088-accel Add interrupt-names and adjust description Changes in v6: I't been almost a year

[PATCH v7 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-21 Thread Mike Looijmans
The BMI088 is a combined module with both accelerometer and gyroscope. This adds the accelerometer driver support for the SPI interface. The gyroscope part is already supported by the BMG160 driver. Signed-off-by: Mike Looijmans --- Changes in v7: Change bmi088_accel to bmi088-accel Order

Re: [PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-21 Thread Mike Looijmans
Comments inlined below. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before

Re: [PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-21 Thread Mike Looijmans
Comments inlined below. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before

Re: [PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-19 Thread Mike Looijmans
Wow, fast response, thanks. Updated my dtschema, fixed the match name as requested and v7 is ready to go. I'm awaiting feedback from the iio people so I can send a new patch set. M. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Product

[PATCH v6 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-19 Thread Mike Looijmans
The BMI088 is a combined module with both accelerometer and gyroscope. This adds the accelerometer driver support for the SPI interface. The gyroscope part is already supported by the BMG160 driver. Signed-off-by: Mike Looijmans --- Changes in v6: Hope you have good memory - v5 was almost a

[PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-19 Thread Mike Looijmans
This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- Changes in v6: I't been almost a year since the last commit, sorry... Fixed the yaml errors Add interrupt, vdd and vddio properties Changes in v5: submit tog

[PATCH v5] power/supply: Add ltc4162-l-charger

2021-01-07 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- v2: Use microohm units instead of milliohm Add interrupt support using smbalert Support

Re: [PATCH v4] power/supply: Add ltc4162-l-charger

2021-01-07 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH v4] power/supply: Add ltc4162-l-charger

2021-01-05 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- v2: Use microohm units instead of milliohm Add interrupt support using smbalert Support

[PATCH v2] clk-si5341: Support NVM programming through sysfs

2021-01-05 Thread Mike Looijmans
ck to be up and running before the kernel boots (e.g. for bootloader usage). Some vendors initialize PLLs only in their bootloader and thus need the clock running at boot. Signed-off-by: Mike Looijmans --- v2: Add description in Documentation/ABI/ Use regmap_read_poll_timeout() Abort on sys

Re: [PATCH v3] power/supply: Add ltc4162-l-charger

2021-01-04 Thread Mike Looijmans
Hello, No worries on processing time. Only drawback is that since the project ended, I may no longer have access to the actual hardware for testing. Further inline comments below. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V

Re: [PATCH v3] power/supply: Add ltc4162-l-charger

2020-12-03 Thread Mike Looijmans
Gentle ping, haven't seen any response... Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please conside

Re: [PATCH v3] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-11-05 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH] clk-si5341: Support NVM programming through sysfs

2020-11-05 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH] clk-si5341: Support NVM programming through sysfs

2020-11-03 Thread Mike Looijmans
Export an attribute program_nvm_bank that when read reports the current bank value. To program the chip's current state into NVM, write the magic value 0xC7 into this attribute. Signed-off-by: Mike Looijmans --- drivers/clk/clk-si5341.c | 73 1

[PATCH v4] dt-bindings: power/supply: Add ltc4162-l-charger

2020-11-03 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Use microohms, add lltc,cell-count v3: Fix example dts to match

[PATCH v3] power/supply: Add ltc4162-l-charger

2020-11-02 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- v2: Use microohm units instead of milliohm Add interrupt support using smbalert Support

[PATCH v3] dt-bindings: power/supply: Add ltc4162-l-charger

2020-11-02 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Use microohms, add lltc,cell-count v3: Fix example dts to match

[PATCH v2] power/supply: Add ltc4162-l-charger

2020-10-27 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- v2: Use microohm units instead of milliohm Add interrupt support using smbalert Support

[PATCH v2] dt-bindings: power/supply: Add ltc4162-l-charger

2020-10-27 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Use microohms, add lltc,cell-count .../bindings/power/supply

[PATCH v4] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-10-26 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. This adds the entry to the devicetree bindings. Signed-off-by: Mike Looijmans Acked-by: Rob Herring R

Re: [PATCH] dt-bindings: power/supply: Add ltc4162-l-charger

2020-10-26 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH] power/supply: Add ltc4162-l-charger

2020-10-21 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- drivers/power/supply/Kconfig | 8 + drivers/power/supply/Makefile| 1

[PATCH] dt-bindings: power/supply: Add ltc4162-l-charger

2020-10-21 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- .../bindings/power/supply/ltc4162-l.yaml | 60

[PATCH v3] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-10-08 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. This adds the entry to the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Split devicetre

Re: [PATCH v2 1/2] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-10-08 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v2 1/2] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-30 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH v2 1/2] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-30 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. This adds the entry to the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Split devicetre

[PATCH v2 2/2] gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-30 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. Signed-off-by: Mike Looijmans --- v2: Split devicetree and code into separate patches drivers/gpio/gpio

[PATCH] gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-09-28 Thread Mike Looijmans
The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. Signed-off-by: Mike Looijmans --- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + drivers

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-09-07 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH v4] usb: dwc3: Add support for VBUS power control

2020-08-04 Thread Mike Looijmans
Support VBUS power control using regulator framework. Enables the regulator while the port is in host mode. The "vbus-supply" property can be provided using a usb-connector child node and standard devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Add missing devm_regulato

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-28 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-27 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-26 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH v3] usb: dwc3: Add support for VBUS power control

2020-06-19 Thread Mike Looijmans
Support VBUS power control using regulator framework. Enables the regulator while the port is in host mode. The "vbus-supply" property can be provided using a usb-connector child node and standard devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Add missing devm_regulato

Re: [PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-19 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-17 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-17 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-10 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Support VBUS power control using regulator framework. Enables the regulator while the port is in host mode. Signed-off-by: Mike Looijmans --- v2: Add missing devm_regulator_get call which got lost during rebase .../devicetree/bindings/usb/dwc3.txt | 1 + drivers/usb/dwc3/core.c

Re: [PATCH] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Oh darn, the "devm_get_regulator..." call in probe got lost in the rebase+merge. I'll add that in v2. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69

Re: [PATCH v2] usb/phy-generic: Add support for OTG VBUS supply control

2020-06-03 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Support VBUS power control using regulator framework. Enables the regulator while the port is in host mode. Signed-off-by: Mike Looijmans --- .../devicetree/bindings/usb/dwc3.txt | 1 + drivers/usb/dwc3/core.c | 30 ++- drivers/usb/dwc3/core.h

[PATCH v2] usb/phy-generic: Add support for OTG VBUS supply control

2020-05-28 Thread Mike Looijmans
This enables support for VBUS on boards where the power is supplied by a regulator. The regulator is enabled when the USB port enters HOST mode. Signed-off-by: Mike Looijmans --- v2: Added missing "return 0;" in set_vbus method .../devicetree/bindings/usb/usb-nop-xceiv.txt | 3 ++ d

Re: [PATCH] usb/phy-generic: Add support for OTG VBUS supply control

2020-05-28 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

[PATCH] usb/phy-generic: Add support for OTG VBUS supply control

2020-05-26 Thread Mike Looijmans
This enables support for VBUS on boards where the power is supplied by a regulator. The regulator is enabled when the USB port enters HOST mode. Signed-off-by: Mike Looijmans --- .../devicetree/bindings/usb/usb-nop-xceiv.txt | 3 ++ drivers/usb/phy/phy-generic.c | 44

[PATCH] clk: clk-si5341: Add support for the Si5345 series

2020-05-06 Thread Mike Looijmans
Add support for the Si5342, Si5344 and Si5345 chips. These are equivalent to the Si5341 family, but with more clock input options (which are not supported yet by this driver). Signed-off-by: Mike Looijmans --- .../bindings/clock/silabs,si5341.txt | 11 ++- drivers/clk/clk-si5341.c

Re: [PATCH][next] clk: Si5341/Si5340: remove redundant assignment to n_den

2019-07-23 Thread Mike Looijmans
Good catch, thanks. You have my Acked-by: Mike Looijmans On 22-07-19 23:24, Stephen Boyd wrote: > Please Cc authors of drivers so they can ack/review. > > Adding Mike to take a look. > > Quoting Colin King (2019-07-01 09:50:20) >> From: Colin Ian King >> >>

Re: [PATCH v3] clk: Add Si5341/Si5340 driver

2019-06-27 Thread Mike Looijmans
On 27-06-19 23:06, Stephen Boyd wrote: > Quoting Mike Looijmans (2019-05-17 06:23:52) >> Adds a driver for the Si5341 and Si5340 chips. The driver does not fully >> support all features of these chips, but allows the chip to be used >> without any support from the "

Re: [PATCH] dt-bindings: Add silabs,si5341

2019-06-27 Thread Mike Looijmans
On 26-06-19 23:24, Stephen Boyd wrote: > Sorry, I'm getting through my inbox pile and saw this one. > > Quoting Mike Looijmans (2019-04-30 22:46:55) >> On 30-04-19 02:17, Stephen Boyd wrote: >>> >>> Why can't that driver call clk_prepare_enable()? Is

[PATCH v3] clk: Add Si5341/Si5340 driver

2019-05-17 Thread Mike Looijmans
d enabling or powering down outputs and multisynths. Signed-off-by: Mike Looijmans --- v2: Fix setting a Rx_DIV value of 2 v3: Rework after maintainer review Style changes (whitespace, brackets) Use unaligned.h Integrate assigned-clock(-parent)s support Remove most dev_dbg calls d

[PATCH v3] dt-bindings: clock: Add silabs,si5341

2019-05-17 Thread Mike Looijmans
Adds the devicetree bindings for the Si5341 and Si5340 chips from Silicon Labs. These are multiple-input multiple-output clock synthesizers. Signed-off-by: Mike Looijmans --- v3: Remove synthesizers child nodes Fix typo v2: Add data sheet reference. Restructured to enable use of

[PATCH v2] dt-bindings: clock: Add silabs,si5341

2019-05-07 Thread Mike Looijmans
Adds the devicetree bindings for the Si5341 and Si5340 chips from Silicon Labs. These are multiple-input multiple-output clock synthesizers. Signed-off-by: Mike Looijmans --- v2: Add data sheet reference. Restructured to enable use of "assigned-clock*" properties to set up bo

[PATCH] clk: clk-si544: Implement small frequency change support

2019-05-07 Thread Mike Looijmans
The Si544 supports changing frequencies "on the fly" when the change is less than 950 ppm from the current center frequency. The driver now uses the small adjustment routine for implementing this. Signed-off-by: Mike Looijmans --- drivers/clk/clk-si5

Re: [PATCH] dt-bindings: Add silabs,si5341

2019-04-30 Thread Mike Looijmans
On 30-04-19 02:17, Stephen Boyd wrote: > Quoting Mike Looijmans (2019-04-27 02:42:56) >> On 27-04-19 02:44, Stephen Boyd wrote: >>> Quoting Mike Looijmans (2019-04-25 23:51:15) >>>> On 26-04-19 01:04, Stephen Boyd wrote: >>>>>> + >>>>>

Re: [PATCH] dt-bindings: Add silabs,si5341

2019-04-27 Thread Mike Looijmans
On 27-04-19 02:44, Stephen Boyd wrote: > Quoting Mike Looijmans (2019-04-25 23:51:15) >> On 26-04-19 01:04, Stephen Boyd wrote: >>> Quoting Mike Looijmans (2019-04-24 02:02:16) >>>> Adds the devicetree bindings for the si5341 driver that supports the >>>>

Re: [PATCH] clk: Add Si5341/Si5340 driver

2019-04-26 Thread Mike Looijmans
I'll send a v2 with lots of changes someday next week (I hope). Comments interleaved, if I didn't comment or explicitly say "ok", just assume I agree and will change it. On 26-04-19 01:36, Stephen Boyd wrote: > Quoting Mike Looijmans (2019-04-24 02:00:38) >> Add

Re: [PATCH] dt-bindings: Add silabs,si5341

2019-04-25 Thread Mike Looijmans
On 26-04-19 01:04, Stephen Boyd wrote: > Quoting Mike Looijmans (2019-04-24 02:02:16) >> Adds the devicetree bindings for the si5341 driver that supports the >> Si5341 and Si5340 chips. >> >> Signed-off-by: Mike Looijmans >> --- >> .../bindings

[PATCH] clk: Add Si5341/Si5340 driver

2019-04-24 Thread Mike Looijmans
d enabling or powering down outputs and multisynths. Signed-off-by: Mike Looijmans --- v2: Use correct distribution list (not the devicetree one) Fix bug that a /2 divider setting actually disabled the divider Update the Kconfig description (no firmware blob needed) drivers/clk/Kconfig

[PATCH] clk: Add Si5341/Si5340 driver

2019-04-24 Thread Mike Looijmans
nabling or powering down outputs and multisynths. Signed-off-by: Mike Looijmans --- drivers/clk/Kconfig | 11 + drivers/clk/Makefile |1 + drivers/clk/clk-si5341.c | 1452 ++ 3 files changed, 1464 insertions(+) create mode 100644 drivers/clk/cl

[PATCH] dt-bindings: Add silabs,si5341

2019-04-24 Thread Mike Looijmans
Adds the devicetree bindings for the si5341 driver that supports the Si5341 and Si5340 chips. Signed-off-by: Mike Looijmans --- .../bindings/clock/silabs,si5341.txt | 141 ++ 1 file changed, 141 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock

Re: [PATCH v3 2/2] iio/chemical/bme680: Fix SPI read interface

2019-03-16 Thread Mike Looijmans
On 16-03-19 11:24, Himanshu Jha wrote: > On Wed, Mar 06, 2019 at 08:31:48AM +0100, Mike Looijmans wrote: >> The SPI interface implementation was completely broken. >> >> When using the SPI interface, there are only 7 address bits, the upper bit >> is controlled by a pag

[PATCH v3 1/2] iio/chemical/bme680: Report temperature in millidegrees

2019-03-05 Thread Mike Looijmans
The standard unit for temperature is millidegrees Celcius. Adapt the driver to report in millidegrees instead of degrees. Signed-off-by: Mike Looijmans --- v2: Remove unused 'addr7' variable v3: Split patch into temperatu

[PATCH v3 2/2] iio/chemical/bme680: Fix SPI read interface

2019-03-05 Thread Mike Looijmans
provide any hints on when they become valid, and they aren't even enumerated in the memory map. So check the calibration and retry reading it from the device after each measurement until it provides something valid. Signed-off-by: Mike Looijmans --- v2: Remove unused 'addr7' variable v

Re: [PATCH v2] iio/chemical/bme680: Fix SPI read interface

2019-03-05 Thread Mike Looijmans
On 03-03-19 17:57, Jonathan Cameron wrote: > On Thu, 21 Feb 2019 10:20:49 +0100 > Mike Looijmans wrote: > >> The SPI interface implementation was completely broken. >> >> When using the SPI interface, there are only 7 address bits, the upper bit >> is controll

[PATCH v2] iio/chemical/bme680: Fix SPI read interface

2019-02-21 Thread Mike Looijmans
provide any hints on when they become valid, and they aren't even enumerated in the memory map. So check the calibration and retry reading it from the device after each measurement until it provides something valid. Report temperature in millidegrees Celcius instead of degrees. Signed-off-b

Re: [PATCH] iio/chemical/bme680: Fix SPI read interface

2019-02-17 Thread Mike Looijmans
On 16-02-19 12:27, Himanshu Jha wrote: > Hello Mike, > > On Fri, Feb 15, 2019 at 02:47:55PM +0100, Mike Looijmans wrote: >> The SPI interface implementation was completely broken. > > My apologies! > > SPI interface caused me a lot of trouble in my project timelin

[PATCH] iio/chemical/bme680: Fix SPI read interface

2019-02-15 Thread Mike Looijmans
provide any hints on when they become valid, and they aren't even enumerated in the memory map. So check the calibration and retry reading it from the device after each measurement until it provides something valid. Report temperature in millidegrees Celcius instead of degrees. Sign

[PATCH v2] iio/gyro/bmg160: Use millidegrees for temperature scale

2019-02-12 Thread Mike Looijmans
Standard unit for temperature is millidegrees Celcius, whereas this driver was reporting in degrees. Fix the scale factor in the driver. Signed-off-by: Mike Looijmans --- v2: Don't touch val2 when returning IIO_VAL_INT Only touch val when returning a value drivers/iio/gyro/bmg160_c

Re: [PATCH] iio/gyro/bmg160: Use millidegrees for temperature scale

2019-02-12 Thread Mike Looijmans
On 12-02-19 18:00, Tomasz Duszynski wrote: > On Tue, Feb 12, 2019 at 03:25:49PM +0100, Mike Looijmans wrote: >> Standard unit for temperature is millidegrees Celcius, whereas this driver >> was reporting in degrees. Fix the scale factor in the driver. >> >> Si

[PATCH] iio/gyro/bmg160: Use millidegrees for temperature scale

2019-02-12 Thread Mike Looijmans
Standard unit for temperature is millidegrees Celcius, whereas this driver was reporting in degrees. Fix the scale factor in the driver. Signed-off-by: Mike Looijmans --- drivers/iio/gyro/bmg160_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/iio/gyro

[PATCH v2] zynq-fpga: Only route PR via PCAP when required

2018-10-24 Thread Mike Looijmans
PCAP and ICAP interfaces to be used for PR. Signed-off-by: Mike Looijmans Reviewed-by: Moritz Fischer --- v2: Move the register setting in between the clock enable/disable drivers/fpga/zynq-fpga.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/fpga/zynq-fpga.c b/drivers/fpga/zynq

Re: [PATCH] zynq-fpga: Only route PR via PCAP when required

2018-10-23 Thread Mike Looijmans
gh another bus (e.g. PCIe) > > On Tue, Oct 23, 2018 at 08:31:19AM +0200, Mike Looijmans wrote: >> The Xilinx Zynq FPGA driver takes ownership of the PR interface, making >> it impossible to use the ICAP interface for partial reconfiguration. >> >> This patch changes th

[PATCH] zynq-fpga: Only route PR via PCAP when required

2018-10-22 Thread Mike Looijmans
PCAP and ICAP interfaces to be used for PR. Signed-off-by: Mike Looijmans --- drivers/fpga/zynq-fpga.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/fpga/zynq-fpga.c b/drivers/fpga/zynq-fpga.c index 3110e00..f6c205a 100644 --- a/drivers/fpga/zynq-fpga.c +++ b/drivers/fpga/zynq

[PATCH] clk-si514, clk-si544: Implement prepare/unprepare/is_prepared operations

2018-06-03 Thread Mike Looijmans
This adds prepare/unprepare/is_prepared functionality to the drivers for the SI544 and SI514 chips, allowing the clock output to be disabled when the clock is not in use. Signed-off-by: Mike Looijmans --- drivers/clk/clk-si514.c | 38 +- drivers/clk/clk-si544

Re: [PATCH] clk-si544: Properly round requested frequency to nearest match

2018-06-01 Thread Mike Looijmans
On 31-05-18 17:34, Stephen Boyd wrote: Quoting Mike Looijmans (2018-05-31 07:03:55) The si544 driver had a rounding problem that using the result of clk_round_rate may set the clock to yet another rate, for example: clk_round_rate(19500) = 19499 clk_round_rate(19499) = 19498

[PATCH] clk-si544: Properly round requested frequency to nearest match

2018-05-31 Thread Mike Looijmans
(clk, actual_freq); clk_round_rate(clk, actual_freq) == actual_freq && clk_get_rate(clk) == actual_freq Signed-off-by: Mike Looijmans --- drivers/clk/clk-si544.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-si544.c b/drivers/clk/clk-si544.c index d437722..e972ff

Re: [PATCH] i2c-mux-pca954x: Force reset on probe if available

2018-05-08 Thread Mike Looijmans
On 08-05-18 08:36, Peter Rosin wrote: On 2018-05-01 13:42, Mike Looijmans wrote: Instead of just hogging the reset GPIO into deactivated state, activate and then de-activate the reset. This allows for better recovery if the CPU was reset halfway through an I2C transaction for example. I

[PATCH] i2c-mux-pca954x: Force reset on probe if available

2018-05-01 Thread Mike Looijmans
Instead of just hogging the reset GPIO into deactivated state, activate and then de-activate the reset. This allows for better recovery if the CPU was reset halfway through an I2C transaction for example. Signed-off-by: Mike Looijmans --- drivers/i2c/muxes/i2c-mux-pca954x.c | 12 ++-- 1

[PATCH] gpio-poweroff: Use gpiod_set_value_cansleep

2018-04-24 Thread Mike Looijmans
The power-off call is done in a context that must be able to sleep, so use gpiod_set_value_cansleep instead of the atomic gpiod_set_value call. This fixes a kernel warning at shutdown when the gpio is controlled through an IO expander for example. Signed-off-by: Mike Looijmans --- drivers

Re: [PATCH] [net] nvmem: disallow modular CONFIG_NVMEM

2018-04-04 Thread Mike Looijmans
For making things build again: Acked-by: Mike Looijmans I'd be interested in use-cases for having nvmem as a module, I cannot think of any. I am working on splitting of_get_nvmem_mac_address(), by moving most of its burden to the nvmem interface. Intend to create this "just

Re: Build failure due commit 9217e566bdee

2018-04-04 Thread Mike Looijmans
ressed. I think having nvnmem_core as a module doesn't make much sense anyway, but that's not up to me. Moving the code from of to nvmem seems weird, but would solve it. Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ Best Post

Re: [PATCH v4 0/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-31 Thread Mike Looijmans
On 30-03-18 16:40, David Miller wrote: From: Mike Looijmans Date: Thu, 29 Mar 2018 07:29:47 +0200 Posted this as a small set now, with an (optional) second patch that shows how the changes work and what I've used to test the code on a Topic Miami board. I've taken the libe

Re: [PATCH] of_net: Implement of_get_nvmem_mac_address helper

2018-03-29 Thread Mike Looijmans
On 25-03-18 10:17, Mike Looijmans wrote: On 24-03-18 19:53, Andrew Lunn wrote: A quick survey for the of_get_mac_address users learns that most of them do a memcpy (or similar) right after it, so for these drivers the "of_get_nvmem_mac_address" style signature that performs the

Re: [PATCH v3 1/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-28 Thread Mike Looijmans
On 28-03-18 00:50, Florian Fainelli wrote: On 03/27/2018 02:52 AM, Mike Looijmans wrote: It's common practice to store MAC addresses for network interfaces into nvmem devices. However the code to actually do this in the kernel lacks, so this patch adds of_get_nvmem_mac_address() for drive

[PATCH v4 1/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-28 Thread Mike Looijmans
where the ethernet interface cannot be configured by the bootloader, for example because it's in an FPGA. Signed-off-by: Mike Looijmans Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn --- Documentation/devicetree/bindings/net/ethernet.txt | 2 ++ drivers/o

[PATCH v4 2/2] net: macb: Try to retrieve MAC addess from nvmem provider

2018-03-28 Thread Mike Looijmans
Call of_get_nvmem_mac_address() to fetch the MAC address from an nvmem cell, if one is provided in the device tree. This allows the address to be stored in an I2C EEPROM device for example. Signed-off-by: Mike Looijmans Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb_main.c | 12

[PATCH v4 0/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-28 Thread Mike Looijmans
EN v3: Add patch that implements mac in nvmem for the Cadence MACB controller Remove the integrated of_get_mac_address call v2: Use of_nvmem_cell_get to avoid needing the assiciated device Use void* instead of char* Add devicetree binding doc Mike Looijmans (2): of_net: Implement of_

[PATCH v3 0/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-27 Thread Mike Looijmans
: Use of_nvmem_cell_get to avoid needing the assiciated device Use void* instead of char* Add devicetree binding doc Mike Looijmans (2): of_net: Implement of_get_nvmem_mac_address helper net: macb: Try to retrieve MAC addess from nvmem provider Documentation/devicetree/bindings/net/etherne

  1   2   3   4   >