From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v3 1/2] i2c: qup: Add device tree bindings information Date: Mon, 20 Jan 2014 18:40:07 -0800 Message-ID: <20140121024007.GE13785@codeaurora.org> References: <1389999819-10648-1-git-send-email-bjorn.andersson@sonymobile.com> <1389999819-10648-2-git-send-email-bjorn.andersson@sonymobile.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Mark Rutland , Wolfram Sang , "linux-i2c@vger.kernel.org" , Matt Porter , "linux-doc@vger.kernel.org" , Bjorn Andersson , Grant Likely , James Ralston , "devicetree@vger.kernel.org" , "Ivan T. Ivanov" , Pawel Moll , Ian Campbell , linux-arm-msm , Rob Herring , Martin Schwidefsky , Andy Shevchenko , "linux-arm-kernel@lists.infradead.org" , Bill Brown , Greg Kroah-Hartman List-Id: devicetree@vger.kernel.org On 01/20, Rob Herring wrote: > On Fri, Jan 17, 2014 at 5:03 PM, Bjorn Andersson > wrote: > > > .../devicetree/bindings/i2c/qcom,i2c-qup.txt | 41 ++++++++++++++++++++++ > > 1 file changed, 41 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt > > > > diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt b/Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt > > new file mode 100644 > > index 0000000..a99711b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt > > @@ -0,0 +1,41 @@ > > +Qualcomm Universal Peripheral (QUP) I2C controller > > + > > +Required properties: > > + - compatible: Should be "qcom,i2c-qup". > > Seems a bit generic. All versions of the IP are exactly the same? > "qcom,-i2c-qup" would be better. > There are different versions of the IP in different SoCs. The versions for platforms supported upstream are: 1.1.1 (MSM8660, MSM8960) 2.2.1 (MSM8974v2) so how about one of "qcom,i2c-qup-v1.1.1" or "qcom,i2c-qup-v2.2.1" should be specified as more specific compatible strings in addition to "qcom,i2c-qup"? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation