Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231417 > unrolled thread
| Started by | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| First post | 2015-09-23 14:50 +0200 |
| Last post | 2015-09-23 19:10 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas "H. Nikolaus Schaller" <hns@goldelico.com> - 2015-09-23 14:50 +0200
Re: [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas Tony Lindgren <tony@atomide.com> - 2015-09-23 19:00 +0200
Re: [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas "H. Nikolaus Schaller" <hns@goldelico.com> - 2015-09-23 19:10 +0200
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2015-09-23 14:50 +0200 |
| Subject | [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas |
| Message-ID | <qbREL-4pV-33@gated-at.bofh.it> |
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap5-uevm.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 3b16e8f..0d4c8ff 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -342,6 +342,28 @@
ti,ldo6-vibrator;
+ gpadc {
+ compatible = "ti,palmas-gpadc";
+ interrupts = <18 0
+ 16 0
+ 17 0>;
+ ti,channel0-current-microamp = <5>;
+ ti,channel3-current-microamp = <10>;
+ iio_map {
+ ch1 {
+ ti,adc-channel-number = <1>;
+ ti,adc-consumer-device = "generic-adc-thermal.0";
+ ti,adc-consumer-channel ="battery-temp-channel";
+ };
+
+ ch6 {
+ ti,adc-channel-number = <6>;
+ ti,adc-consumer-device = "palmas-battery";
+ ti,adc-consumer-channel ="vbat_channel";
+ };
+ };
+ };
+
regulators {
smps123_reg: smps123 {
/* VDD_OPP_MPU */
--
2.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2015-09-23 19:00 +0200 |
| Message-ID | <qbVyG-1BU-29@gated-at.bofh.it> |
| In reply to | #1231417 |
* H. Nikolaus Schaller <hns@goldelico.com> [150923 05:53]:
Missing description? BTW, this I want to queue separately
as I have patches in works to support omap5 variants with
omap5-board-common.dtsi to avoid duplicating things as
we get omap5 better supported for things like regulators.
Regards,
Tony
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
> ---
> arch/arm/boot/dts/omap5-uevm.dts | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
> index 3b16e8f..0d4c8ff 100644
> --- a/arch/arm/boot/dts/omap5-uevm.dts
> +++ b/arch/arm/boot/dts/omap5-uevm.dts
> @@ -342,6 +342,28 @@
>
> ti,ldo6-vibrator;
>
> + gpadc {
> + compatible = "ti,palmas-gpadc";
> + interrupts = <18 0
> + 16 0
> + 17 0>;
> + ti,channel0-current-microamp = <5>;
> + ti,channel3-current-microamp = <10>;
> + iio_map {
> + ch1 {
> + ti,adc-channel-number = <1>;
> + ti,adc-consumer-device = "generic-adc-thermal.0";
> + ti,adc-consumer-channel ="battery-temp-channel";
> + };
> +
> + ch6 {
> + ti,adc-channel-number = <6>;
> + ti,adc-consumer-device = "palmas-battery";
> + ti,adc-consumer-channel ="vbat_channel";
> + };
> + };
> + };
> +
> regulators {
> smps123_reg: smps123 {
> /* VDD_OPP_MPU */
> --
> 2.5.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2015-09-23 19:10 +0200 |
| Message-ID | <qbVIl-22x-1@gated-at.bofh.it> |
| In reply to | #1231567 |
Hi,
Am 23.09.2015 um 18:56 schrieb Tony Lindgren <tony@atomide.com>:
> * H. Nikolaus Schaller <hns@goldelico.com> [150923 05:53]:
>
> Missing description?
well, description is “ARM: dts: omap5-uevm: enable iio gpadc for Palmas"
and I didn’t catch that the commit is otherwise empty. Sorry.
> BTW, this I want to queue separately
> as I have patches in works to support omap5 variants with
> omap5-board-common.dtsi to avoid duplicating things as
> we get omap5 better supported for things like regulators.
Yes, it should work for all Palmas based OMAP5 boards and a
omap5-board-common.dtsi would be the right place (after
it comes to existence).
>
> Regards,
>
> Tony
>
>> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
>> ---
>> arch/arm/boot/dts/omap5-uevm.dts | 22 ++++++++++++++++++++++
>> 1 file changed, 22 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
>> index 3b16e8f..0d4c8ff 100644
>> --- a/arch/arm/boot/dts/omap5-uevm.dts
>> +++ b/arch/arm/boot/dts/omap5-uevm.dts
>> @@ -342,6 +342,28 @@
>>
>> ti,ldo6-vibrator;
>>
>> + gpadc {
>> + compatible = "ti,palmas-gpadc";
>> + interrupts = <18 0
>> + 16 0
>> + 17 0>;
>> + ti,channel0-current-microamp = <5>;
>> + ti,channel3-current-microamp = <10>;
>> + iio_map {
>> + ch1 {
>> + ti,adc-channel-number = <1>;
>> + ti,adc-consumer-device = "generic-adc-thermal.0";
>> + ti,adc-consumer-channel ="battery-temp-channel";
>> + };
>> +
>> + ch6 {
>> + ti,adc-channel-number = <6>;
>> + ti,adc-consumer-device = "palmas-battery";
>> + ti,adc-consumer-channel ="vbat_channel";
>> + };
>> + };
>> + };
>> +
>> regulators {
>> smps123_reg: smps123 {
>> /* VDD_OPP_MPU */
>> --
>> 2.5.1
>>
BR,
Nikolaus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web