Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309AbcJKDZP (ORCPT ); Mon, 10 Oct 2016 23:25:15 -0400 Received: from mail-db5eur01on0096.outbound.protection.outlook.com ([104.47.2.96]:34944 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753220AbcJKDXw (ORCPT ); Mon, 10 Oct 2016 23:23:52 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Subject: Re: [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings To: Pantelis Antoniou , Lee Jones References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> <1475853669-22480-5-git-send-email-pantelis.antoniou@konsulko.com> CC: Linus Walleij , Alexandre Courbot , Rob Herring , Mark Rutland , Frank Rowand , Wolfram Sang , Richard Purdie , Jacek Anaszewski , Jean Delvare , Avirup Banerjee , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , , , , , , From: Peter Rosin Organization: Axentia Technologies AB Message-ID: <83dc46b5-9c37-2813-0eca-267250e7cf2e@axentia.se> Date: Mon, 10 Oct 2016 17:48:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1475853669-22480-5-git-send-email-pantelis.antoniou@konsulko.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [217.210.101.82] X-ClientProxiedBy: DB5PR08CA0057.eurprd08.prod.outlook.com (10.166.166.153) To HE1PR0201MB2315.eurprd02.prod.outlook.com (10.168.145.150) X-MS-Office365-Filtering-Correlation-Id: 8e4d4eb4-996d-4f79-15d7-08d3f124f3a8 X-Microsoft-Exchange-Diagnostics: 1;HE1PR0201MB2315;2:YSuW4hsJDqqX6EmmaZNJE1x1sJcFOFWaCrlgIpmVAhy1GyyJ21MtZVn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CqdW9OFk9d1NuNS0dpIsLI9CaX5rMpDLfeBZ054YIc84hf8H0l3Q== X-Microsoft-Exchange-Diagnostics: 1;HE1PR0201MB2315;31:kPinOA5yQWuzZESv/EWGKiFAvkhtbMUggmEBUjPBH6tUk6juFyISYskDnCO+laDyjxb9BNhDLc/feBco6J6/PUEHJGWRYzHRrkZrXbuaziFmNyVslZfR4706Bsz/Vk6Aa0fG9jYWGvWbppX/9Mb1+J/9hS0F5lrYwDUmFjJuqQ71XyIvrFS505JyeaUJS6cPjexiPDH7oC9nwquBYtUrmazB8opsmWZeytcLBFAb6b5hpAxS2f8iNw/d0y1iprtm;4:X2lOoSC8Ld8umDFMZZKJ3DCcybhgS94PdxhT85dSPaoiJxVZ/Eu+PGK2PuUDxiMgPdzapXqgrNwmJCqHBKIYlabhmVD2hGwv6/yx1imhBBxcOKgJUxFp3/10xjXtXuIghlzdog2qBLaouQrersdr+YFWwXkkN9eHmDx37fkV0bseIBfkwq7fKPraI3CVMg6aVqOicHKN0Kb/JEfIPFhmJBv3PZAjc0/GqawXHDil0Ot+TXu1ds5VYzZs8CcfHntv0Ws4FGwBB5Hl/iiRI6D8WTYCy9PXInzR2FonxKc6wBqNvcrMJFU283GqhxpDyPgYfZxesesPBrgzOM8Q0LJ+MXSibZoOYN+szQqLuoh7wTQxptxMrkO4SXOQlD5UNzIBhC/E+TFbypWFeEjSc2ss7lO3eZBeU543OPKUBQeZwE3mYZBA8LAMX4esUFoLu84ICZ3JkcTpMTtZ320mv1yhvRUQwaGN3hvOm8X9y7bUIyk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(138986009662008); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6042046)(6043046);SRVR:HE1PR0201MB2315;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0201MB2315; X-Forefront-PRVS: 0091C8F1EB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(7916002)(24454002)(189002)(199003)(377424004)(5660300001)(189998001)(86362001)(31696002)(7416002)(586003)(3846002)(6116002)(8676002)(230700001)(19580405001)(81166006)(81156014)(19580395003)(42186005)(230783001)(106356001)(33646002)(105586002)(575784001)(83506001)(31686004)(6666003)(117156001)(2950100002)(23746002)(74482002)(68736007)(77096005)(92566002)(4326007)(36756003)(50986999)(65806001)(65826007)(54356999)(64126003)(76176999)(50466002)(8666005)(5001770100001)(66066001)(4001350100001)(97736004)(47776003)(65956001)(101416001)(305945005)(7736002)(2906002)(7846002)(7059030)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0201MB2315;H:[192.168.0.125];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;HE1PR0201MB2315;23:bk8/ytT6A8P8jv+x9ELSw1ipoEjSMn/XvWP?= =?Windows-1252?Q?BLL8S+nm2vqL6PK2sVhxIgN5ngmkf/kO06czYcT2RxG9f9PdJZie/hPt?= =?Windows-1252?Q?sHfIAhVI4I6ln6vhd4jv49a6ShRiIfC91aC2lQJH5hO9Jri/JRLcqowZ?= =?Windows-1252?Q?MtSZvgSMrwMRLDx4e6I+hUD1Msli9Cg3uiWmv0DtF32sXjDoce/F0Dz+?= =?Windows-1252?Q?sUPKCEy9YLG1kW8VU4nU2FWPHsy09u9mrhDjU88WURK2ponuqz32Wp+3?= =?Windows-1252?Q?FUTNAwfhznyRA/1a6T4xZRC2kl01vwabDqFdxv5WX5N9eOVEEJpFLw7o?= =?Windows-1252?Q?+e7fs4fDGW3Kzt20vgXNO2i5pcG8+Z6jfJ2mfeHHs+gwJB2FzMA37dZR?= =?Windows-1252?Q?jnfRIdZP7CQemt0G7Sq3JGWBA/RVOghny+hAuARHeBgk66/uVtKad/bS?= =?Windows-1252?Q?ZHq+bkqYoj0jVuzYJcSO7nkGbu1yKp+kSA64UPBug4Ki7z0oEf9+xzFa?= =?Windows-1252?Q?C8iAo643qQ3kbyAKN23cn+kj5r6YvW2q9Vhhp7O4S2G0N7fsXJErWO0w?= =?Windows-1252?Q?iAj1Zg5Z+rFFFGVBgSvacBXYJzUPegzKO8K1pgigsKctf7r+vqDpIZVE?= =?Windows-1252?Q?mr2GFRoefwT4nlaF0ovVGSnsunVIWJbh66LlFkTrpAupwwxvKShQe68n?= =?Windows-1252?Q?pgjl7dCIbYYf8VlEFie8M4r48R7hTsJbft2DuuAjZEo3gwhZfoIs2djR?= =?Windows-1252?Q?U4Rv3g3zyMkjMJUfLwsCqrZHvBLNk89ZWXscdwHaHzqgya9heXPjMuml?= =?Windows-1252?Q?OLMx/MdwkWHbS7Xt3QfnOh4bgePqHFwgpDMCM9hA9WGugaAer+mB+0TB?= =?Windows-1252?Q?55tC3igjlk3OsYMPd8APChEyOU+H/pJI8cX+oB2uQGgM4/4KBHtEfWet?= =?Windows-1252?Q?te5pNIvcZ5gW8Fnd6NeVgssScw5d12mGOQLvnh2t60N5aOXYgR3QWADy?= =?Windows-1252?Q?Il6tUP3Fi5Ox7LCOHLP8LfZS0g3QwiCKD7+oUX1svUoUVFabj2mvnp2a?= =?Windows-1252?Q?HsGl/eIeDTYE7mBR3Kk3KSpe137/CTOzrou3CWs1UFFdOUncVbyc0ZBU?= =?Windows-1252?Q?0SCl1CGCKv+5qUrc1VQL0N+Rku7bgNHad8eoeR6ZtGa3C0gnHOA4U+9r?= =?Windows-1252?Q?KINbU8UqZ/1f14pP/iZL5Cc6b50hfcgPAMYU0XSP9/xFU4I/xkhFZt5I?= =?Windows-1252?Q?Di4qWf/JMr1l67JJrpa6Eg9X0zSQOgSgBJMXLx3ETEee4IBUmkcpGPpv?= =?Windows-1252?Q?boaErt4XL1xFp5hNBgJz0bLX7fumxgGueo4CyvbBKd6/zOKg159jl/OI?= =?Windows-1252?Q?x5gUyTJ9dBWAl0002R5Hh8p9fORupkXsb59PT4AhLlEQswIP2xOwFd/N?= =?Windows-1252?Q?GETSbSqCwyJMvhPV3kw4GGnpv0Q9eFTP+iycFLessM+DWdh63f8v985I?= =?Windows-1252?Q?8EV6jrI0AXAuHePjyNy3fMTadh+I23zLFqssV0eTeTMTJOFq3clxPQc8?= =?Windows-1252?Q?lWpAwa+g+XJeStVI=3D?= X-Microsoft-Exchange-Diagnostics: 1;HE1PR0201MB2315;6:rGOzElB58P/vvYxabDLomJ/PSx7oTBALyUrSpWp6LWBakZ7AqLdu8mzXvKXrXi7PNrzzVfT9KqClIb1+U1MGNjtgeG5WRWeZzpq64w5f78HPUQasgi0oBUSVrzuQQeRRvd2np0FkDtz8BFhtLln6TXyHcrpncq+0e9nU0ra3vmU3QbPd4D/yjLuYCd8GS2zcGou0DsuISevrkNnO+vtfWGuSR8qtEtXqUZ9AOHid49M2EA2dAXFN9FMQTrvibE2BQzgY7oYG0AlSpsqw89fYeOgtILjHRrz862OgRWLDRSXy5LGK2hrCX9d9v8auyzid7raQ4xcvCv9bfY7FtgsO+Q==;5:MtC7egNLbGhMtbfKPdV+DdRWBP3ZAY7nlE7Scbn8YUkvGaQ2IfJ5LYIuGq+MAP0Li0q9sAn7cWeodZVv0ZYKBMi8q/OMmC9AahMAw+SGk/6gywaJlYZvl/cgYF+xBb0zlULaCCfwrbhMGQboQsRNSycKSNCu7Zfj6ONqAdEmhqc=;24:6bw3xtqOx935qR2SeyNfFd5Tm8vCnf6Pz65G6/3nKhBvl6wHw+8LX7bZhieWdNQI63rGaFM/NaA7LzzGdKvvLqPaeTbD3QIPM6Oy0nT/Mz4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0201MB2315;7:OXFDsAqdZHemMdbb3TKiqX3Z3vuuV793GxOZavdge2E4sDAEYSB8siLeckeQZaMb2EO1hQlhC+sBAvfXwN2wzU3WQUJ1L5yqOlgh6JvO1PPJzxOeqN+bwr3iGUMGoUW9LeW5wz/YzDaKlJpagW8S7iTjylf0v7ox9uhOdt2xaTYW/fRy1vT9b0WcGGXgvPMFis3P3Lolb26EqK8zueXmRNkZmR51F7OZ497IImDEnzRY6IaEFkYx51DE7p6Wn8bH29dg86bsF51KoITi6g2MMaU7N7f0SFH42jSNpAcNOqWjrcXTctkcIP3SuvGO9VngsVbEeiqzlVToROFoYAfpIG0sL0oUsc/f4sw067zefVs= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2016 15:48:56.7812 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0201MB2315 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1852 Lines: 71 On 2016-10-07 17:21, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add binding document for the i2c mux driver of Juniper's I2CS FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > .../devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > > diff --git a/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt b/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > new file mode 100644 > index 0000000..03d917f > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > @@ -0,0 +1,27 @@ > +* Juniper I2C Mux on I2CS > + > + I2C mux driver for switching the RE access to the FPC i2c bus. > + Compatible with the FPC variant of the I2CS. > + > +Required properties: > + > + - compatible: "jnx,i2cs-mux-i2cs". jnx,i2c-mux-i2cs > + > +The following required properties are defined externally: > + > + - Standard I2C mux properties. See i2c-mux.txt in this directory. To accommodate changes pending for 4.9, change "mux" to "gate" in this line... > + - I2C child bus nodes. See i2c-mux.txt in this directory. This line is wrong since the child nodes themselves are optional in i2c-gate.txt (and i2c-mux.txt). I guess you can just drop it since the child nodes are mentioned in i2c-gate.txt (and i2c-mux.txt). > + > +Example: > + > +fpc0_mux { > + compatible = "jnx,i2c-mux-i2cs"; > + #address-cells = <1>; > + #size-cells = <0>; ...drop these two... > + > + fpc0i2c0: i2c@0 { ...change i2c@0 to i2c-gate... > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; ...and drop reg. Cheers, Peter > + }; > +}; >