All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Amlogic: update multi_v7_defconfig for the temperature sensor
@ 2019-03-28 20:51 ` Martin Blumenstingl
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: Martin Blumenstingl, linux-kernel

Linux 5.1 gained support for the temperature sensor on the 32-bit
Amlogic SoCs. This requires the eFuse driver and the SAR ADC driver to
be enabled in the kernel config. This last bit was missing so far.

Three boards already have a iio-hwmon node defined. The driver for this
is already enabled in multi_v7_defconfig: CONFIG_SENSORS_IIO_HWMON


Martin Blumenstingl (1):
  ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse
    drivers

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.21.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/1] Amlogic: update multi_v7_defconfig for the temperature sensor
@ 2019-03-28 20:51 ` Martin Blumenstingl
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: Martin Blumenstingl, linux-kernel

Linux 5.1 gained support for the temperature sensor on the 32-bit
Amlogic SoCs. This requires the eFuse driver and the SAR ADC driver to
be enabled in the kernel config. This last bit was missing so far.

Three boards already have a iio-hwmon node defined. The driver for this
is already enabled in multi_v7_defconfig: CONFIG_SENSORS_IIO_HWMON


Martin Blumenstingl (1):
  ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse
    drivers

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 0/1] Amlogic: update multi_v7_defconfig for the temperature sensor
@ 2019-03-28 20:51 ` Martin Blumenstingl
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: linux-kernel, Martin Blumenstingl

Linux 5.1 gained support for the temperature sensor on the 32-bit
Amlogic SoCs. This requires the eFuse driver and the SAR ADC driver to
be enabled in the kernel config. This last bit was missing so far.

Three boards already have a iio-hwmon node defined. The driver for this
is already enabled in multi_v7_defconfig: CONFIG_SENSORS_IIO_HWMON


Martin Blumenstingl (1):
  ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse
    drivers

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
  2019-03-28 20:51 ` Martin Blumenstingl
  (?)
@ 2019-03-28 20:51   ` Martin Blumenstingl
  -1 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: Martin Blumenstingl, linux-kernel

With the SAR ADC driver ADC measurements can be taken though the IIO
framework. Additionally the SAR ADC has a channel which is connected to
an internal temperature sensor. The calibration data for this internal
temperature sensor is stored in the eFuse.

Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
Meson SoCs so we can expose the chip temperature to userspace through
the IIO hwmon driver (whose config option is already enabled:
CONFIG_SENSORS_IIO_HWMON=y).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index c75051b9392c..11d0395f3f0c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -925,6 +925,7 @@ CONFIG_AT91_SAMA5D2_ADC=m
 CONFIG_BERLIN2_ADC=m
 CONFIG_CPCAP_ADC=m
 CONFIG_EXYNOS_ADC=m
+CONFIG_MESON_SARADC=m
 CONFIG_STM32_ADC_CORE=m
 CONFIG_STM32_ADC=m
 CONFIG_STM32_DFSDM_ADC=m
@@ -979,6 +980,7 @@ CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_OMAP_USB2=y
 CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
+CONFIG_MESON_MX_EFUSE=m
 CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_SUNXI_SID=y
 CONFIG_NVMEM_VF610_OCOTP=y
-- 
2.21.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
@ 2019-03-28 20:51   ` Martin Blumenstingl
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: Martin Blumenstingl, linux-kernel

With the SAR ADC driver ADC measurements can be taken though the IIO
framework. Additionally the SAR ADC has a channel which is connected to
an internal temperature sensor. The calibration data for this internal
temperature sensor is stored in the eFuse.

Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
Meson SoCs so we can expose the chip temperature to userspace through
the IIO hwmon driver (whose config option is already enabled:
CONFIG_SENSORS_IIO_HWMON=y).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index c75051b9392c..11d0395f3f0c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -925,6 +925,7 @@ CONFIG_AT91_SAMA5D2_ADC=m
 CONFIG_BERLIN2_ADC=m
 CONFIG_CPCAP_ADC=m
 CONFIG_EXYNOS_ADC=m
+CONFIG_MESON_SARADC=m
 CONFIG_STM32_ADC_CORE=m
 CONFIG_STM32_ADC=m
 CONFIG_STM32_DFSDM_ADC=m
@@ -979,6 +980,7 @@ CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_OMAP_USB2=y
 CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
+CONFIG_MESON_MX_EFUSE=m
 CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_SUNXI_SID=y
 CONFIG_NVMEM_VF610_OCOTP=y
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
@ 2019-03-28 20:51   ` Martin Blumenstingl
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2019-03-28 20:51 UTC (permalink / raw)
  To: linux-amlogic, linux-arm-kernel; +Cc: linux-kernel, Martin Blumenstingl

With the SAR ADC driver ADC measurements can be taken though the IIO
framework. Additionally the SAR ADC has a channel which is connected to
an internal temperature sensor. The calibration data for this internal
temperature sensor is stored in the eFuse.

Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
Meson SoCs so we can expose the chip temperature to userspace through
the IIO hwmon driver (whose config option is already enabled:
CONFIG_SENSORS_IIO_HWMON=y).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index c75051b9392c..11d0395f3f0c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -925,6 +925,7 @@ CONFIG_AT91_SAMA5D2_ADC=m
 CONFIG_BERLIN2_ADC=m
 CONFIG_CPCAP_ADC=m
 CONFIG_EXYNOS_ADC=m
+CONFIG_MESON_SARADC=m
 CONFIG_STM32_ADC_CORE=m
 CONFIG_STM32_ADC=m
 CONFIG_STM32_DFSDM_ADC=m
@@ -979,6 +980,7 @@ CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_OMAP_USB2=y
 CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
+CONFIG_MESON_MX_EFUSE=m
 CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_SUNXI_SID=y
 CONFIG_NVMEM_VF610_OCOTP=y
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
  2019-03-28 20:51   ` Martin Blumenstingl
  (?)
@ 2019-03-29 21:03     ` Kevin Hilman
  -1 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2019-03-29 21:03 UTC (permalink / raw)
  To: arm; +Cc: Martin Blumenstingl, linux-amlogic, linux-kernel,
	linux-arm-kernel

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> With the SAR ADC driver ADC measurements can be taken though the IIO
> framework. Additionally the SAR ADC has a channel which is connected to
> an internal temperature sensor. The calibration data for this internal
> temperature sensor is stored in the eFuse.
>
> Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
> Meson SoCs so we can expose the chip temperature to userspace through
> the IIO hwmon driver (whose config option is already enabled:
> CONFIG_SENSORS_IIO_HWMON=y).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Queued for v5.2,

Thanks,

Kevin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
@ 2019-03-29 21:03     ` Kevin Hilman
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2019-03-29 21:03 UTC (permalink / raw)
  To: arm; +Cc: Martin Blumenstingl, linux-amlogic, linux-kernel,
	linux-arm-kernel

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> With the SAR ADC driver ADC measurements can be taken though the IIO
> framework. Additionally the SAR ADC has a channel which is connected to
> an internal temperature sensor. The calibration data for this internal
> temperature sensor is stored in the eFuse.
>
> Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
> Meson SoCs so we can expose the chip temperature to userspace through
> the IIO hwmon driver (whose config option is already enabled:
> CONFIG_SENSORS_IIO_HWMON=y).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Queued for v5.2,

Thanks,

Kevin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
@ 2019-03-29 21:03     ` Kevin Hilman
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2019-03-29 21:03 UTC (permalink / raw)
  To: arm
  Cc: linux-kernel, Martin Blumenstingl, Martin Blumenstingl,
	linux-amlogic, linux-arm-kernel

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> With the SAR ADC driver ADC measurements can be taken though the IIO
> framework. Additionally the SAR ADC has a channel which is connected to
> an internal temperature sensor. The calibration data for this internal
> temperature sensor is stored in the eFuse.
>
> Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
> Meson SoCs so we can expose the chip temperature to userspace through
> the IIO hwmon driver (whose config option is already enabled:
> CONFIG_SENSORS_IIO_HWMON=y).
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Queued for v5.2,

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-29 21:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-28 20:51 [PATCH 0/1] Amlogic: update multi_v7_defconfig for the temperature sensor Martin Blumenstingl
2019-03-28 20:51 ` Martin Blumenstingl
2019-03-28 20:51 ` Martin Blumenstingl
2019-03-28 20:51 ` [PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers Martin Blumenstingl
2019-03-28 20:51   ` Martin Blumenstingl
2019-03-28 20:51   ` Martin Blumenstingl
2019-03-29 21:03   ` Kevin Hilman
2019-03-29 21:03     ` Kevin Hilman
2019-03-29 21:03     ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.