* [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon
@ 2018-07-20 23:02 Peter Robinson
2018-07-21 4:24 ` Guenter Roeck
2018-07-21 19:02 ` Stefan Wahren
0 siblings, 2 replies; 5+ messages in thread
From: Peter Robinson @ 2018-07-20 23:02 UTC (permalink / raw)
To: Jean Delvare, Guenter Roeck, linux-hwmon, linux-rpi-kernel
Cc: Peter Robinson, Stefan Wahren, Eric Anholt
The raspberrypi-hwmon driver doesn't automatically load, although it does work
when loaded, by adding the alias it auto loads as expected when built as a
module. Tested on RPi2/RPi3 on 32 bit kernel and RPi3B+ on aarch64 with
Fedora 28 and a patched 4.18 RC kernel.
Fixes: q3c493c885cf ("hwmon: Add support for RPi voltage sensor")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
CC: Stefan Wahren <stefan.wahren@i2se.com>
CC: Eric Anholt <eric@anholt.net>
---
drivers/hwmon/raspberrypi-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/raspberrypi-hwmon.c b/drivers/hwmon/raspberrypi-hwmon.c
index fb4e4a6bb1f63..be5ba46908953 100644
--- a/drivers/hwmon/raspberrypi-hwmon.c
+++ b/drivers/hwmon/raspberrypi-hwmon.c
@@ -164,3 +164,4 @@ module_platform_driver(rpi_hwmon_driver);
MODULE_AUTHOR("Stefan Wahren <stefan.wahren@i2se.com>");
MODULE_DESCRIPTION("Raspberry Pi voltage sensor driver");
MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:raspberrypi-hwmon");
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon
2018-07-20 23:02 [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon Peter Robinson
@ 2018-07-21 4:24 ` Guenter Roeck
2018-07-26 18:16 ` Eric Anholt
2018-08-02 16:13 ` Florian Fainelli
2018-07-21 19:02 ` Stefan Wahren
1 sibling, 2 replies; 5+ messages in thread
From: Guenter Roeck @ 2018-07-21 4:24 UTC (permalink / raw)
To: Peter Robinson, Jean Delvare, linux-hwmon, linux-rpi-kernel
Cc: Stefan Wahren, Eric Anholt, Florian Fainelli
On 07/20/2018 04:02 PM, Peter Robinson wrote:
> The raspberrypi-hwmon driver doesn't automatically load, although it does work
> when loaded, by adding the alias it auto loads as expected when built as a
> module. Tested on RPi2/RPi3 on 32 bit kernel and RPi3B+ on aarch64 with
> Fedora 28 and a patched 4.18 RC kernel.
>
> Fixes: q3c493c885cf ("hwmon: Add support for RPi voltage sensor")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> CC: Stefan Wahren <stefan.wahren@i2se.com>
> CC: Eric Anholt <eric@anholt.net>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Florian, I think the driver is in your tree - can you take this patch ?
Thanks,
Guenter
> ---
> drivers/hwmon/raspberrypi-hwmon.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/raspberrypi-hwmon.c b/drivers/hwmon/raspberrypi-hwmon.c
> index fb4e4a6bb1f63..be5ba46908953 100644
> --- a/drivers/hwmon/raspberrypi-hwmon.c
> +++ b/drivers/hwmon/raspberrypi-hwmon.c
> @@ -164,3 +164,4 @@ module_platform_driver(rpi_hwmon_driver);
> MODULE_AUTHOR("Stefan Wahren <stefan.wahren@i2se.com>");
> MODULE_DESCRIPTION("Raspberry Pi voltage sensor driver");
> MODULE_LICENSE("GPL v2");
> +MODULE_ALIAS("platform:raspberrypi-hwmon");
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon
2018-07-20 23:02 [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon Peter Robinson
2018-07-21 4:24 ` Guenter Roeck
@ 2018-07-21 19:02 ` Stefan Wahren
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Wahren @ 2018-07-21 19:02 UTC (permalink / raw)
To: linux-rpi-kernel, Guenter Roeck, linux-hwmon, Peter Robinson,
Jean Delvare
Cc: Eric Anholt
> Peter Robinson <pbrobinson@gmail.com> hat am 21. Juli 2018 um 01:02 geschrieben:
>
>
> The raspberrypi-hwmon driver doesn't automatically load, although it does work
> when loaded, by adding the alias it auto loads as expected when built as a
> module. Tested on RPi2/RPi3 on 32 bit kernel and RPi3B+ on aarch64 with
> Fedora 28 and a patched 4.18 RC kernel.
>
> Fixes: q3c493c885cf ("hwmon: Add support for RPi voltage sensor")
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> CC: Stefan Wahren <stefan.wahren@i2se.com>
> CC: Eric Anholt <eric@anholt.net>
> ---
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon
2018-07-21 4:24 ` Guenter Roeck
@ 2018-07-26 18:16 ` Eric Anholt
2018-08-02 16:13 ` Florian Fainelli
1 sibling, 0 replies; 5+ messages in thread
From: Eric Anholt @ 2018-07-26 18:16 UTC (permalink / raw)
To: Guenter Roeck, Peter Robinson, Jean Delvare, linux-hwmon,
linux-rpi-kernel
Cc: Stefan Wahren, Florian Fainelli
[-- Attachment #1: Type: text/plain, Size: 878 bytes --]
Guenter Roeck <linux@roeck-us.net> writes:
> On 07/20/2018 04:02 PM, Peter Robinson wrote:
>> The raspberrypi-hwmon driver doesn't automatically load, although it does work
>> when loaded, by adding the alias it auto loads as expected when built as a
>> module. Tested on RPi2/RPi3 on 32 bit kernel and RPi3B+ on aarch64 with
>> Fedora 28 and a patched 4.18 RC kernel.
>>
>> Fixes: q3c493c885cf ("hwmon: Add support for RPi voltage sensor")
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> CC: Stefan Wahren <stefan.wahren@i2se.com>
>> CC: Eric Anholt <eric@anholt.net>
>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
>
> Florian, I think the driver is in your tree - can you take this patch ?
Florian's been on vacation for a bit, but hopefully when he gets back
(next week, iirc?) he can just apply it with my r-b as well :)
Thanks, Peter!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon
2018-07-21 4:24 ` Guenter Roeck
2018-07-26 18:16 ` Eric Anholt
@ 2018-08-02 16:13 ` Florian Fainelli
1 sibling, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2018-08-02 16:13 UTC (permalink / raw)
To: Guenter Roeck, Peter Robinson, Jean Delvare, linux-hwmon,
linux-rpi-kernel
Cc: Stefan Wahren, Eric Anholt
On 07/20/2018 09:24 PM, Guenter Roeck wrote:
> On 07/20/2018 04:02 PM, Peter Robinson wrote:
>> The raspberrypi-hwmon driver doesn't automatically load, although it
>> does work
>> when loaded, by adding the alias it auto loads as expected when built
>> as a
>> module. Tested on RPi2/RPi3 on 32 bit kernel and RPi3B+ on aarch64 with
>> Fedora 28 and a patched 4.18 RC kernel.
>>
>> Fixes: q3c493c885cf ("hwmon: Add support for RPi voltage sensor")
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> CC: Stefan Wahren <stefan.wahren@i2se.com>
>> CC: Eric Anholt <eric@anholt.net>
>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
>
> Florian, I think the driver is in your tree - can you take this patch ?
Yes, now applied to drivers/next, thanks for your patience, I was on
holiday for quite a while.
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-02 18:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20 23:02 [PATCH] hwmon: rpi: add module alias to raspberrypi-hwmon Peter Robinson
2018-07-21 4:24 ` Guenter Roeck
2018-07-26 18:16 ` Eric Anholt
2018-08-02 16:13 ` Florian Fainelli
2018-07-21 19:02 ` Stefan Wahren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox