[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200331200611.GA10950@bogus>
Date: Tue, 31 Mar 2020 14:06:11 -0600
From: Rob Herring <robh@...nel.org>
To: Jishnu Prakash <jprakash@...eaurora.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
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).
> 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