Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275711

Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

From Bjorn Andersson <bjorn.andersson@sonymobile.com>
Newsgroups linux.kernel
Subject Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings
Date 2015-11-23 19:30 +0100
Message-ID <qy42f-5wu-47@gated-at.bofh.it> (permalink)
References <qvZq1-4iH-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 17 Nov 17:00 PST 2015, Stephen Boyd wrote:

> The drivers don't really need to know which PMIC they're for, so
> make a generic binding for them. This alleviates us from updating
> the drivers every time a new PMIC comes out. It's still
> recommended that we update the binding with new PMIC models and
> always specify the specific model for the MPPs and gpios before
> the generic compatible string in devicetree, but this at least
> cuts down on adding more and more compatible strings to the
> drivers until we actually need them.
> 
> Cc: <devicetree@vger.kernel.org>
> Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
> 

I must say that when it comes to writing dts files I much prefer the msm
way of denoting functions over the pmic one. But because of that
decision this makes perfect sense!

Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

Regards,
Bjorn
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 02:10 +0100
  Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP  bindings Andy Gross <agross@codeaurora.org> - 2015-11-18 05:20 +0100
  [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 20:40 +0100
    Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Andy Gross <agross@codeaurora.org> - 2015-11-19 07:10 +0100
    Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-11-23 19:30 +0100
  Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP  bindings Rob Herring <robh@kernel.org> - 2015-11-19 16:00 +0100
    Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP  bindings Stephen Boyd <sboyd@codeaurora.org> - 2015-11-20 19:00 +0100
  Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings "Ivan T. Ivanov" <iivanov.xz@gmail.com> - 2015-11-23 07:40 +0100
  Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP  bindings Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-11-23 19:30 +0100

csiph-web