Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-02-24 Thread Stefan Wahren
Hi Laxman, > Laxman Dewangan hat am 24. Februar 2016 um 14:15 > geschrieben: > > > Add resource manageemnt APIs fro pinctrl_register() and pinctrl_unregister() > and use these new APIs on hw driver to reduce the error path code and > remove callback for driver. > just for

[PATCH RFC V2 2/6] hwmon: Add support for RPi voltage sensor

2018-05-22 Thread Stefan Wahren
only an entry is written to the kernel log. CC: "Noralf Trønnes" <nor...@tronnes.org> Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- Documentation/hwmon/raspberrypi-hwmon | 22 + drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile

[PATCH RFC V2 6/6] arm64: defconfig: Enable RPi voltage sensor

2018-05-22 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d25121b..5cdecef 100644 ---

[PATCH RFC V2 4/6] ARM: bcm2835_defconfig: Enable RPi voltage sensor

2018-05-22 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm/configs/bcm2835_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig

[PATCH RFC V2 3/6] firmware: raspberrypi: Register hwmon driver

2018-05-22 Thread Stefan Wahren
Since the raspberrypi-hwmon driver is tied to the VC4 firmware instead of particular hardware its registration should be in the firmware driver. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- drivers/firmware/raspberrypi.c | 19 +++ 1 file changed, 19 inse

[PATCH RFC V2 0/6] hwmon: Add support for Raspberry Pi voltage sensor

2018-05-22 Thread Stefan Wahren
Kconfig dependency suggested by Robin Murphy - replace dt-binding by probing from firmware driver - add hwmon documentation - minor improvements suggested by Guenter Roeck [1] - https://github.com/raspberrypi/linux/issues/2367 Stefan Wahren (6): ARM: bcm2835: Add GET_THROTTLED firmware property

[PATCH RFC V2 1/6] ARM: bcm2835: Add GET_THROTTLED firmware property

2018-05-22 Thread Stefan Wahren
: undervoltage 1: arm frequency capped 2: currently throttled 16: undervoltage has occurred 17: arm frequency capped has occurred 18: throttling has occurred Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- include/soc/bcm2835/raspberrypi-firmware.h | 1 + 1 file changed, 1 ins

[PATCH RFC V2 5/6] ARM: multi_v7_defconfig: Enable RPi voltage sensor

2018-05-22 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 7

Re: [PATCH RFC V2 2/6] hwmon: Add support for RPi voltage sensor

2018-05-22 Thread Stefan Wahren
Hi Guenter, > Guenter Roeck <li...@roeck-us.net> hat am 22. Mai 2018 um 15:41 geschrieben: > > > On 05/22/2018 04:21 AM, Stefan Wahren wrote: > > Currently there is no easy way to detect undervoltage conditions on a > > remote Raspberry Pi. This hw

Re: [PATCH RFC V2 2/6] hwmon: Add support for RPi voltage sensor

2018-05-22 Thread Stefan Wahren
> Guenter Roeck <li...@roeck-us.net> hat am 22. Mai 2018 um 16:10 geschrieben: > > > On 05/22/2018 06:51 AM, Stefan Wahren wrote: > > Hi Guenter, > > > >> Guenter Roeck <li...@roeck-us.net> hat am 22. Mai 2018 um 15:41 > >> geschrieben

[PATCH V3 0/6] hwmon: Add support for Raspberry Pi voltage sensor

2018-05-25 Thread Stefan Wahren
- replace dt-binding by probing from firmware driver - add hwmon documentation - minor improvements suggested by Guenter Roeck [1] - https://github.com/raspberrypi/linux/issues/2367 Stefan Wahren (6): ARM: bcm2835: Add GET_THROTTLED firmware property hwmon: Add support for RPi voltage sensor

[PATCH V3 5/6] ARM: multi_v7_defconfig: Enable RPi voltage sensor

2018-05-25 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 7

[PATCH V3 3/6] firmware: raspberrypi: Register hwmon driver

2018-05-25 Thread Stefan Wahren
Since the raspberrypi-hwmon driver is tied to the VC4 firmware instead of particular hardware its registration should be in the firmware driver. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- drivers/firmware/raspberrypi.c | 19 +++ 1 file changed, 19 inse

[PATCH V3 4/6] ARM: bcm2835_defconfig: Enable RPi voltage sensor

2018-05-25 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm/configs/bcm2835_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig

[PATCH V3 6/6] arm64: defconfig: Enable RPi voltage sensor

2018-05-25 Thread Stefan Wahren
The patch enables the hwmon driver for the Raspberry Pi. Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3299505..e5c7198 100644 ---

[PATCH V3 1/6] ARM: bcm2835: Add GET_THROTTLED firmware property

2018-05-25 Thread Stefan Wahren
: undervoltage 1: arm frequency capped 2: currently throttled 16: undervoltage has occurred 17: arm frequency capped has occurred 18: throttling has occurred Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- include/soc/bcm2835/raspberrypi-firmware.h | 1 + 1 file changed, 1 ins

[PATCH V3 2/6] hwmon: Add support for RPi voltage sensor

2018-05-25 Thread Stefan Wahren
only an entry is written to the kernel log. CC: "Noralf Trønnes" <nor...@tronnes.org> Signed-off-by: Stefan Wahren <stefan.wah...@i2se.com> --- Documentation/hwmon/raspberrypi-hwmon | 22 + drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile