[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1435133827.2334.33.camel@linaro.org>
Date: Wed, 24 Jun 2015 11:17:07 +0300
From: "Ivan T. Ivanov" <ivan.ivanov@...aro.org>
To: Bjorn Andersson <bjorn.andersson@...ymobile.com>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Linus Walleij <linus.walleij@...aro.org>,
devicetree@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH 5/8] pinctrl: qcom: spmi-mpp: Add support for setting
analog output level
Hi Bjorn,
On Wed, 2015-06-17 at 23:47 -0700, Bjorn Andersson wrote:
> When the MPP is configured for analog output the output level is selected by
> the AOUT_CTL register, this patch makes it possible to control this.
>
<snip>
> }
> @@ -748,6 +765,10 @@ static int pmic_mpp_populate(struct pmic_mpp_state *state,
>
> pad->drive_strength = val;
>
> + val = pmic_mpp_read(state, pad, PMIC_MPP_REG_AOUT_CTL);
> + if (val < 0)
> + return val;
> +
Missing
pad->aout_level = val;
> val = pmic_mpp_read(state, pad, PMIC_MPP_REG_EN_CTL);
> if (val < 0)
> return val;
>
Regards,
Ivan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists