[PATCH 1/1] platform/x86: revert pcengines-apuv2 wire up simswitch gpio as led

2020-07-13 Thread Florian Eckert
oid the problems mentioned above. The LED subsystem is not made for this and it is not a good compromise, but rather dangerous. Signed-off-by: Florian Eckert --- drivers/platform/x86/pcengines-apuv2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/platform/x86/pcengines-apuv2.c b/driv

[PATCH v2 1/1] platform/x86/pcengines-apuv2: add mpcie reset gpio export

2019-07-26 Thread Florian Eckert
On APUx we have also mpcie2/mpcie3 reset pins. To make it possible to reset the ports from the userspace, add the definition to this platform device. The gpio can then be exported by the legancy gpio subsystem to toggle the mpcie reset pin. Signed-off-by: Florian Eckert --- v2: Noting changed

Re: [PATCH 3/3] platform//x86/pcengines-apuv2: update gpio button definition

2019-07-23 Thread Florian Eckert
> I'd like to ack only the keycode change, but not the deprecated .gpio > field. I'll post a separate patch for the keycode change only. I am fine if we only change the keycode. Do I have to send a v2 patch set?

Re: [PATCH 1/3] platform/x86/pcengines-apuv2: add mpcie reset gpio export

2019-07-15 Thread Florian Eckert
On APUx we have also mpcie2/mpcie3 reset pins. To make it possible to reset the ports from the userspace, add the definition to this platform device. The gpio can then be exported by the legancy gpio subsystem to toggle the mpcie reset pin. Just tested your patch on an apu3. The driver

Re: [PATCH 0/3] Update pcengines-apuv2 platform device

2019-07-10 Thread Florian Eckert
On 2019-07-08 21:45, Enrico Weigelt, metux IT consult wrote: On 04.07.19 15:39, Andy Shevchenko wrote: On Thu, Jul 4, 2019 at 12:02 PM Florian Eckert wrote: This patchset adds the following changes to this pcengines-apuv2 platform device. Before doing anything to this driver, what

Re: [PATCH 1/3] platform/x86/pcengines-apuv2: add mpcie reset gpio export

2019-07-10 Thread Florian Eckert
On 2019-07-08 21:44, Enrico Weigelt, metux IT consult wrote: On 04.07.19 11:02, Florian Eckert wrote: On APUx we have also mpcie2/mpcie3 reset pins. To make it possible to reset the ports from the userspace, add the definition to this platform device. The gpio can then be exported

Re: [PATCH 2/3] platform/x86/pcengines-apuv2: add legacy leds gpio definitions

2019-07-10 Thread Florian Eckert
On 2019-07-08 21:42, Enrico Weigelt, metux IT consult wrote: On 04.07.19 11:02, Florian Eckert wrote: Extend the apu2_leds definition to make the leds exportable via the legacy gpio subsystem. What for ? The gpios are bound to LED devices as that's exactly what they are: LEDs. I have back

Re: [PATCH 0/3] Update pcengines-apuv2 platform device

2019-07-05 Thread Florian Eckert
Hello Andy >> This patchset adds the following changes to this pcengines-apuv2 >> platform device. >> > > Before doing anything to this driver, what is the plan for previously > upstreamed: > > drivers/leds/leds-apu.c I think we can remove the related APU2/APU3 code stuff from this driver.

Re: [PATCH 0/3] Update pcengines-apuv2 platform device

2019-07-04 Thread Florian Eckert
Hello Andy, thanks for feedback This patchset adds the following changes to this pcengines-apuv2 platform device. Before doing anything to this driver, what is the plan for previously upstreamed: drivers/leds/leds-apu.c I think we can remove the related APU2/APU3 code stuff from this

[PATCH 0/3] Update pcengines-apuv2 platform device

2019-07-04 Thread Florian Eckert
This patchset adds the following changes to this pcengines-apuv2 platform device. * Add mpcie reset gpio export * Add legacy leds gpio definitions * Update gpio buttion definitions Florian Eckert (3): platform/x86/pcengines-apuv2: add mpcie reset gpio export platform/x86/pcengines-apuv2: add

[PATCH 3/3] platform//x86/pcengines-apuv2: update gpio button definition

2019-07-04 Thread Florian Eckert
by Pcengines. Also many embedded systems defined in the kernel use this key code as well. Signed-off-by: Florian Eckert --- drivers/platform/x86/pcengines-apuv2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/pcengines-apuv2.c b/drivers/platform/x86/pcengines

[PATCH 1/3] platform/x86/pcengines-apuv2: add mpcie reset gpio export

2019-07-04 Thread Florian Eckert
On APUx we have also mpcie2/mpcie3 reset pins. To make it possible to reset the ports from the userspace, add the definition to this platform device. The gpio can then be exported by the legancy gpio subsystem to toggle the mpcie reset pin. Signed-off-by: Florian Eckert --- drivers/platform/x86

[PATCH 2/3] platform/x86/pcengines-apuv2: add legacy leds gpio definitions

2019-07-04 Thread Florian Eckert
Extend the apu2_leds definition to make the leds exportable via the legacy gpio subsystem. Without this change the leds are not visible under "/sys/class/leds" and could not be configured. Signed-off-by: Florian Eckert --- drivers/platform/x86/pcengines-apuv2.c | 21 ++

Re: [PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-12-04 Thread Florian Eckert
/* * Multi-line comments * have this style */ fixed +#include kbuild bot complains for absence of #include here. fixed +static int gpio_apu_get_dir(struct gpio_chip *chip, unsigned int offset) +{ + u32 val; + struct apu_gpio_pdata *apu_gpio =

Re: [PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-12-04 Thread Florian Eckert
/* * Multi-line comments * have this style */ fixed +#include kbuild bot complains for absence of #include here. fixed +static int gpio_apu_get_dir(struct gpio_chip *chip, unsigned int offset) +{ + u32 val; + struct apu_gpio_pdata *apu_gpio =

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-04 Thread Florian Eckert
>> Yes i will fix your hints tomorrow and send a v6 of my patchset. >> Thank you for your hints and time >> It would be nice if you could fix ACPI problemmatik. > > I would like to see the ACPI dump for that... See https://github.com/openwrt/openwrt/pull/1232#issuecomment-443224576 In this

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-04 Thread Florian Eckert
>> Yes i will fix your hints tomorrow and send a v6 of my patchset. >> Thank you for your hints and time >> It would be nice if you could fix ACPI problemmatik. > > I would like to see the ACPI dump for that... See https://github.com/openwrt/openwrt/pull/1232#issuecomment-443224576 In this

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-02 Thread Florian Eckert
Hello Andy > Btw, is the statement in above email still actual? "...I can fix > required things." Yes i will fix your hints tomorrow and send a v6 of my patchset. Thank you for your hints and time It would be nice if you could fix ACPI problemmatik. I would like to see the ACPI dump for

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-12-02 Thread Florian Eckert
Hello Andy > Btw, is the statement in above email still actual? "...I can fix > required things." Yes i will fix your hints tomorrow and send a v6 of my patchset. Thank you for your hints and time It would be nice if you could fix ACPI problemmatik. I would like to see the ACPI dump for

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-29 Thread Florian Eckert
ired things." Yes i will fix your hints tomorrow and send a v6 of my patchset. Thank you for your hints and time It would be nice if you could fix ACPI problemmatik. Best regards Florian Eckert

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-29 Thread Florian Eckert
ired things." Yes i will fix your hints tomorrow and send a v6 of my patchset. Thank you for your hints and time It would be nice if you could fix ACPI problemmatik. Best regards Florian Eckert

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-29 Thread Florian Eckert
Hello Andy, Thank you very very much for your code review "again" I will update my patch set with your hints. Should I send v6 or should i wait till I get feedback from you about ACPI? Until now it was not possible to get more information to detect the MMIO_BASE address from the ACPI

Re: [PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-29 Thread Florian Eckert
Hello Andy, Thank you very very much for your code review "again" I will update my patch set with your hints. Should I send v6 or should i wait till I get feedback from you about ACPI? Until now it was not possible to get more information to detect the MMIO_BASE address from the ACPI

[PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-11-27 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 7 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 288

[PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-11-27 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 7 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 288

[PATCH v5 2/2] platform: Add reset button device for PC Engines APU boards

2018-11-27 Thread Florian Eckert
Add a platform/x86 device "gpio-keys-polled" for the frontpanel reset button. This device uses the gpio-apu driver for APU borads from PC Engines. Signed-off-by: Florian Eckert --- drivers/platform/x86/Kconfig | 11 +++ drivers/platform/x86/Makefile

[PATCH v5 2/2] platform: Add reset button device for PC Engines APU boards

2018-11-27 Thread Florian Eckert
Add a platform/x86 device "gpio-keys-polled" for the frontpanel reset button. This device uses the gpio-apu driver for APU borads from PC Engines. Signed-off-by: Florian Eckert --- drivers/platform/x86/Kconfig | 11 +++ drivers/platform/x86/Makefile

[PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-27 Thread Florian Eckert
apu_gpio_pdata this - Clean up init function - Remove MODULE_ALIAS Until now it was not possible to get more information to detect the MMIO_BASE address from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU boards platform: Add reset button device for PC Engines APU

[PATCH v5 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-27 Thread Florian Eckert
apu_gpio_pdata this - Clean up init function - Remove MODULE_ALIAS Until now it was not possible to get more information to detect the MMIO_BASE address from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU boards platform: Add reset button device for PC Engines APU

Re: [PATCH v4 1/2] gpio: Add driver for PC Engines APU boards

2018-11-19 Thread Florian Eckert
Hello Linus Signed-off-by: Florian Eckert This is looking better and better! Thanks to everyone helping out and thanks for your perseverance Florian! I have to thanks for reviewing my driver. This is the way opensource works. Thanks for the feedback i will update the driver with your

Re: [PATCH v4 1/2] gpio: Add driver for PC Engines APU boards

2018-11-19 Thread Florian Eckert
Hello Linus Signed-off-by: Florian Eckert This is looking better and better! Thanks to everyone helping out and thanks for your perseverance Florian! I have to thanks for reviewing my driver. This is the way opensource works. Thanks for the feedback i will update the driver with your

[PATCH v4 2/2] platform: Add reset button device for PC Engines APU boards

2018-11-15 Thread Florian Eckert
Add a platform/x86 device "gpio-keys-polled" for the frontpanel reset button. This device uses the gpio-apu driver for APU borads from PC Engines. Signed-off-by: Florian Eckert --- drivers/platform/x86/Kconfig | 11 +++ drivers/platform/x86/Makefile

[PATCH v4 2/2] platform: Add reset button device for PC Engines APU boards

2018-11-15 Thread Florian Eckert
Add a platform/x86 device "gpio-keys-polled" for the frontpanel reset button. This device uses the gpio-apu driver for APU borads from PC Engines. Signed-off-by: Florian Eckert --- drivers/platform/x86/Kconfig | 11 +++ drivers/platform/x86/Makefile

[PATCH v4 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-15 Thread Florian Eckert
it was not possible to get more information to detect the MMIO_BASE address from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU boards platform: Add reset button device for PC Engines APU boards drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile

[PATCH v4 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-15 Thread Florian Eckert
it was not possible to get more information to detect the MMIO_BASE address from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU boards platform: Add reset button device for PC Engines APU boards drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile

[PATCH v4 1/2] gpio: Add driver for PC Engines APU boards

2018-11-15 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 299

[PATCH v4 1/2] gpio: Add driver for PC Engines APU boards

2018-11-15 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 299

[PATCH v3 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-13 Thread Florian Eckert
from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU2/APU3 GPIOs kernel: Add reset button platform device for APU2/APU3 arch/x86/Kconfig | 14 ++ arch/x86/platform/Makefile | 1 + arch/x86/platform/amd/Makefile | 1 + arch/x86/platform/amd

[PATCH v3 0/2] Add device driver for APU2/APU3 GPIOs

2018-11-13 Thread Florian Eckert
from the ACPI subsystem. Florian Eckert (2): gpio: Add driver for PC Engines APU2/APU3 GPIOs kernel: Add reset button platform device for APU2/APU3 arch/x86/Kconfig | 14 ++ arch/x86/platform/Makefile | 1 + arch/x86/platform/amd/Makefile | 1 + arch/x86/platform/amd

[PATCH v3 1/2] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-11-13 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 312 +

[PATCH v3 1/2] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-11-13 Thread Florian Eckert
ot;mpcie3_reset" connected to mPCIe3 reset line - G33 is "simswap" connected to SIM switch IC to swap the SIM between mPCIe2 and mPCIe3 slot Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 8 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-apu.c | 312 +

[PATCH v3 2/2] kernel: Add reset button platform device for APU2/APU3

2018-11-13 Thread Florian Eckert
This will add a x86 platform device "gpio-keys-polled" which uses the new gpio-apu drive for APU2 and APU3 boards from PC Engines. Signed-off-by: Florian Eckert --- arch/x86/Kconfig | 14 arch/x86/platform/Makefile | 1 + arch/x86/platform/amd/Makefile |

[PATCH v3 2/2] kernel: Add reset button platform device for APU2/APU3

2018-11-13 Thread Florian Eckert
This will add a x86 platform device "gpio-keys-polled" which uses the new gpio-apu drive for APU2 and APU3 boards from PC Engines. Signed-off-by: Florian Eckert --- arch/x86/Kconfig | 14 arch/x86/platform/Makefile | 1 + arch/x86/platform/amd/Makefile |

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-29 Thread Florian Eckert
On 2018-08-24 12:56, Piotr Król wrote: On 08/03/2018 09:08 PM, Andy Shevchenko wrote: Hi Andy, (...) +#define APU_FCH_ACPI_MMIO_BASE 0xFED8 +#define APU_FCH_GPIO_BASE (APU_FCH_ACPI_MMIO_BASE + 0x1500) Wow! Can we see ACPI tables for these boards? Care to share (via some file share

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-29 Thread Florian Eckert
On 2018-08-24 12:56, Piotr Król wrote: On 08/03/2018 09:08 PM, Andy Shevchenko wrote: Hi Andy, (...) +#define APU_FCH_ACPI_MMIO_BASE 0xFED8 +#define APU_FCH_GPIO_BASE (APU_FCH_ACPI_MMIO_BASE + 0x1500) Wow! Can we see ACPI tables for these boards? Care to share (via some file share

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-07 Thread Florian Eckert
On 2018-08-03 21:08, Andy Shevchenko wrote: - APU2/APU3 -> front button reset support - APU3 -> SIM switch support Good. Can we see some specification for those platforms? I think the informations from Christian Lamparter are OK?

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-07 Thread Florian Eckert
On 2018-08-03 21:08, Andy Shevchenko wrote: - APU2/APU3 -> front button reset support - APU3 -> SIM switch support Good. Can we see some specification for those platforms? I think the informations from Christian Lamparter are OK?

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-07 Thread Florian Eckert
Hello Andy I think this are the information you want to have. On 2018-08-04 20:22, Christian Lamparter wrote: As for the APUs. The vendor (PC Engines) happily provides PDFs and schematics for their boards:

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-07 Thread Florian Eckert
Hello Andy I think this are the information you want to have. On 2018-08-04 20:22, Christian Lamparter wrote: As for the APUs. The vendor (PC Engines) happily provides PDFs and schematics for their boards:

[PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-01 Thread Florian Eckert
Add a new device driver "gpio-apu" which will now handle the GPIOs on APU2 and APU3 devices from PC Engines. - APU2/APU3 -> front button reset support - APU3 -> SIM switch support Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 10 ++ drivers/gpio/Makefile | 1

[PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-01 Thread Florian Eckert
Add a new device driver "gpio-apu" which will now handle the GPIOs on APU2 and APU3 devices from PC Engines. - APU2/APU3 -> front button reset support - APU3 -> SIM switch support Signed-off-by: Florian Eckert --- drivers/gpio/Kconfig| 10 ++ drivers/gpio/Makefile | 1

[PATCH] leds: add APU3 dmi information to leds-apu

2018-07-30 Thread Florian Eckert
This driver should also get loaded if this is a APU3 from PC Engines. It has the same pin layout for leds. Signed-off-by: Florian Eckert --- drivers/leds/leds-apu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c index

[PATCH] leds: add APU3 dmi information to leds-apu

2018-07-30 Thread Florian Eckert
This driver should also get loaded if this is a APU3 from PC Engines. It has the same pin layout for leds. Signed-off-by: Florian Eckert --- drivers/leds/leds-apu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c index

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-14 Thread Florian Eckert
Hello Rob > + > +Requires node properties: > +- compatible value : > + "lantiq,cputemp" Kind of non-specific. How is this device even accessed without any other property? It does not need any further properties. If this is set in the device tree then the driver is loaded. DT is

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-14 Thread Florian Eckert
Hello Rob > + > +Requires node properties: > +- compatible value : > + "lantiq,cputemp" Kind of non-specific. How is this device even accessed without any other property? It does not need any further properties. If this is set in the device tree then the driver is loaded. DT is

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-13 Thread Florian Eckert
> >>> + >>> +Requires node properties: >>> +- compatible value : >>> + "lantiq,cputemp" > >Kind of non-specific. How is this device even accessed without any other >property? It does not need any further properties. If this is set in the device tree then the driver is loaded. After loading

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-13 Thread Florian Eckert
> >>> + >>> +Requires node properties: >>> +- compatible value : >>> + "lantiq,cputemp" > >Kind of non-specific. How is this device even accessed without any other >property? It does not need any further properties. If this is set in the device tree then the driver is loaded. After loading

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-12 Thread Florian Eckert
Hello Rob > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt > @@ -0,0 +1,10 @@ > +Lantiq cpu temperatur sensor s/temperatur/temperature/ Will update this in a follow up page based on the old one. So no v4? > + > +Requires node properties: > +- compatible

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-12 Thread Florian Eckert
Hello Rob > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt > @@ -0,0 +1,10 @@ > +Lantiq cpu temperatur sensor s/temperatur/temperature/ Will update this in a follow up page based on the old one. So no v4? > + > +Requires node properties: > +- compatible

Re: [v2,1/2] hwmon: (adcxx) add devictree bindings documentation

2017-09-04 Thread Florian Eckert
Hello Guenter Thank you again for reviewing my patches! It was the first time for me :-) to add something to the kernel. +- vref-supply + The external reference in microvolt for this device is set to this value. + If it does not exists the reference will be set to 330uV (3.3V).

Re: [v2,1/2] hwmon: (adcxx) add devictree bindings documentation

2017-09-04 Thread Florian Eckert
Hello Guenter Thank you again for reviewing my patches! It was the first time for me :-) to add something to the kernel. +- vref-supply + The external reference in microvolt for this device is set to this value. + If it does not exists the reference will be set to 330uV (3.3V).

[PATCH v3 1/2] hwmon: (ltq-cputemp) add cpu temp sensor driver

2017-09-01 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- v2: - remove default in Makefile - fix spelling - removing first read delay, because temperature value is not read during boot anymore - change calculation, compiler

[PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-01 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt

[PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-01 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt diff --git

[PATCH v3 1/2] hwmon: (ltq-cputemp) add cpu temp sensor driver

2017-09-01 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert --- v2: - remove default in Makefile - fix spelling - removing first read delay, because temperature value is not read during boot anymore - change calculation, compiler should to the optimization - remove

[PATCH v2 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt

[PATCH v2 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt diff --git

[PATCH v2 1/2] hwmon: (ltq-cputemp) add cpu temp sensor driver

2017-08-21 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- v2: - remove default in Makefile - fix spelling - removing first read delay, because temperature value is not read during boot anymore - change calculation, compiler

[PATCH v2 1/2] hwmon: (ltq-cputemp) add cpu temp sensor driver

2017-08-21 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert --- v2: - remove default in Makefile - fix spelling - removing first read delay, because temperature value is not read during boot anymore - change calculation, compiler should to the optimization - remove

[PATCH v2 2/2] hwmon: (adcxx) Add device tree support

2017-08-21 Thread Florian Eckert
Add device tree supoort for this driver. Set reference voltage of ADC with the regulator device tree property. If not set use default 330uV (3.3V). - vref-supply Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- v2: - use regulator voltage binding - use dev_dbg drivers/hwmon/adcxx.

[PATCH v2 2/2] hwmon: (adcxx) Add device tree support

2017-08-21 Thread Florian Eckert
Add device tree supoort for this driver. Set reference voltage of ADC with the regulator device tree property. If not set use default 330uV (3.3V). - vref-supply Signed-off-by: Florian Eckert --- v2: - use regulator voltage binding - use dev_dbg drivers/hwmon/adcxx.c | 62

[PATCH v2 1/2] hwmon: (adcxx) add devictree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the adcxx. Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- v2: - use regulator voltage binding Documentation/devicetree/bindings/hwmon/adcxx.txt | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 1/2] hwmon: (adcxx) add devictree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the adcxx. Signed-off-by: Florian Eckert --- v2: - use regulator voltage binding Documentation/devicetree/bindings/hwmon/adcxx.txt | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon

[PATCH 1/2] hwmon: (ltq-cputemp) add cpu temp sensor for xrx200

2017-08-17 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- drivers/hwmon/Kconfig | 8 +++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ltq-cputemp.c | 155 3 files change

[PATCH 1/2] hwmon: (ltq-cputemp) add cpu temp sensor for xrx200

2017-08-17 Thread Florian Eckert
Add the lantiq cpu temperature sensor support for xrx200. Signed-off-by: Florian Eckert --- drivers/hwmon/Kconfig | 8 +++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ltq-cputemp.c | 155 3 files changed, 164 insertions(+) create mode

[PATCH 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-08-17 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert <f...@dev.tdt.de> --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt

[PATCH 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-08-17 Thread Florian Eckert
Document the devicetree bindings for the ltq-cputemp Signed-off-by: Florian Eckert --- Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt diff --git