[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46f4f206-ab75-31ad-66cc-71d1e458b76e@codeaurora.org>
Date: Mon, 6 Apr 2020 17:17:04 +0530
From: Jishnu Prakash <jprakash@...eaurora.org>
To: Rob Herring <robh@...nel.org>
Cc: agross@...nel.org, bjorn.andersson@...aro.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
mka@...omium.org, linus.walleij@...aro.org, sboyd@...eaurora.org,
Jonathan.Cameron@...wei.com, smohanad@...eaurora.org,
kgunda@...eaurora.org, aghayal@...eaurora.org,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Mark Rutland <mark.rutland@....com>,
linux-arm-msm@...r.kernel.org, linux-iio@...r.kernel.org,
linux-arm-msm-owner@...r.kernel.org
Subject: Re: [PATCH 3/3] iio: adc: Add support for PMIC7 ADC
Hi Rob
On 4/1/2020 1:36 AM, Rob Herring wrote:
> On Tue, Mar 24, 2020 at 09:14:10PM +0530, Jishnu Prakash wrote:
>> The ADC architecture on PMIC7 is changed as compared to PMIC5. The
>> major change from PMIC5 is that all SW communication to ADC goes through
>> PMK8350, which communicates with other PMICs through PBS when the ADC
>> on PMK8350 works in master mode. The SID register is used to identify the
>> PMICs with which the PBS needs to communicate. Add support for the same.
>>
>> In addition, add definitions for ADC channels and virtual channel
>> definitions per PMIC, to be used by ADC clients for PMIC7.
>>
>> Signed-off-by: Jishnu Prakash <jprakash@...eaurora.org>
>> ---
>> drivers/iio/adc/qcom-spmi-adc5.c | 239 ++++++++++++++++++++-
>> drivers/iio/adc/qcom-vadc-common.c | 260 +++++++++++++++++++++++
>> drivers/iio/adc/qcom-vadc-common.h | 14 ++
>> include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h | 67 ++++++
>> include/dt-bindings/iio/qcom,spmi-adc7-pm8350b.h | 88 ++++++++
>> include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h | 46 ++++
>> include/dt-bindings/iio/qcom,spmi-adc7-pmr735a.h | 28 +++
>> include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 28 +++
>> include/dt-bindings/iio/qcom,spmi-vadc.h | 78 ++++++-
> DT headers go in the binding patch(es).
I'll move these to the bindings patch in the next post.
>
>> 9 files changed, 843 insertions(+), 5 deletions(-)
>> create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h
>> create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pm8350b.h
>> create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h
>> create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmr735a.h
>> create mode 100644 include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h
Powered by blists - more mailing lists