Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbcJJXaS (ORCPT ); Mon, 10 Oct 2016 19:30:18 -0400 Received: from mail-db5eur01on0119.outbound.protection.outlook.com ([104.47.2.119]:55552 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752352AbcJJXaO (ORCPT ); Mon, 10 Oct 2016 19:30:14 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Subject: Re: [PATCH 10/10] net: mdio-sam: Add device tree documentation for SAM MDIO To: Pantelis Antoniou , Lee Jones References: <1475853518-22264-1-git-send-email-pantelis.antoniou@konsulko.com> <1475853518-22264-11-git-send-email-pantelis.antoniou@konsulko.com> CC: Linus Walleij , Alexandre Courbot , Rob Herring , Mark Rutland , Frank Rowand , Wolfram Sang , David Woodhouse , Brian Norris , Florian Fainelli , "Wim Van Sebroeck" , Debjit Ghosh , Georgi Vlaev , Guenter Roeck , Maryam Seraj , , , , , , , From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Mon, 10 Oct 2016 16:53:09 +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: <1475853518-22264-11-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: AM4PR0101CA0031.eurprd01.prod.exchangelabs.com (10.167.254.41) To DB6PR0201MB2310.eurprd02.prod.outlook.com (10.169.222.149) X-MS-Office365-Filtering-Correlation-Id: f2949ce3-ebab-49d8-a674-08d3f11d2a83 X-Microsoft-Exchange-Diagnostics: 1;DB6PR0201MB2310;2:hIettsbDFc334FAbepVatlgcdp/kk6dY+AHkqmNaike4M3EryntcEXT2fZ3nnsVjrSwezcoTl713FCqcB6SnmwmsFjlYX4PR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Zv7ao2Nkg==;4:m7Ascpe/MgFbt86KXLT/r4mC8exQ1PlCCrx0V3pwlFDW/r4eYcQ/1/oKr00Vw51tHe0m2dYSyTB1aN57LL8ghLWZTi3GBQU+S2jCXtTfAtZ+eT/ShW9a55jlwT7MVxngcMwyGV9U+LU+TtM21KpHo2toE6BchBOA9X/cNp1JVY5lh8qkLJtSwzMyHz4nd98heM+8oUw5pIKQdEmlFrekscZ7GkGYCV4TilYPxWrDan6mS4Fsw54npC4xXbeE74xVfLNHTONPsF7QNsS+FWgOY2YsE0zOkVw7D5UXSb6CyEevZtS6/VfXs714wQqisSlIri6rVkOQgRd57WI2obLDI9V9hfhYwXVRDIEcsrtwMTwoCTQcd33el6A3tV2ENCH21hwEMIRAWIi6Enqm+PN1u21sdTT4bTKRaIDbLsQKAfpDb/QMNUZ4IGLpd0YiCnqvcVjQENPaqtgLw1dJgDw4m4/ZHCZv5UNM1wrgRp1Gos0= 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)(6043046)(6042046);SRVR:DB6PR0201MB2310;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0201MB2310; X-Forefront-PRVS: 0091C8F1EB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6049001)(6009001)(7916002)(24454002)(377424004)(199003)(189002)(66066001)(5660300001)(2950100002)(42186005)(31686004)(106356001)(189998001)(65826007)(19580395003)(23746002)(4326007)(7416002)(19580405001)(117156001)(6666003)(105586002)(33646002)(47776003)(50986999)(65956001)(65806001)(76176999)(54356999)(92566002)(68736007)(101416001)(74482002)(7846002)(7736002)(97736004)(2906002)(83506001)(305945005)(4001350100001)(86362001)(230700001)(8666005)(6116002)(81156014)(8676002)(5001770100001)(64126003)(36756003)(50466002)(77096005)(3846002)(31696002)(586003)(81166006)(7059030)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB6PR0201MB2310;H:[192.168.0.125];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DB6PR0201MB2310;23:axOK/kou71V+jUnErcqZXvQlD8dRSijLICu?= =?Windows-1252?Q?M/gC4oSdBZI8tRHWiAk21WYss8c41aWaDLHGOp+Duoe3ITZVHjag+shQ?= =?Windows-1252?Q?4hdLHhnVEj8bgj74hA2fC43+hTIuI+glJmGUKNuRIZ3gvpo3GJLapUbP?= =?Windows-1252?Q?tgNIlr3zWVg/JWN/WL0aCAsODUftWpb3Hoaay9arLnQf293CubEuFRAr?= =?Windows-1252?Q?8yU9N59lS6NDxD2oliXOBDdlm0reLa1RjtS5RjTVi3jkybHNX9E1OopZ?= =?Windows-1252?Q?lf/BvHXuMedl2iHs0Meb5gUwZx8g/pj0rnraVoWnrzB3xpAYY10au5iD?= =?Windows-1252?Q?ZB8DNbFhU3bVT6AFEkzHerhWPq/YWjgqXw4s5hPbq7odAxoh+qOxvJ+S?= =?Windows-1252?Q?3N3OxRQFRYxyrdib1NMe56NmQKgDS0YDHxiuC1sqUgzDfo4nBzQfVfef?= =?Windows-1252?Q?vmmNrSUicRjQTYEvPQhf3535APROaIw2J5o1X6XapqC4EMrpsoZQbiNx?= =?Windows-1252?Q?e+/BxtUYMiHay81woefW/bERYg2wZqTrNqmqVLQ96c6n5xHEWNHaBF4/?= =?Windows-1252?Q?QDJ8BiwEPC1c11fF1uH5cmjCbenQbI6AxUUPfLHvhdU5OrrsKGwlR6n6?= =?Windows-1252?Q?D6rmP5iMcupRxLBS4ZGMob1cmN9j6SBUphekrsuX69r0CxP61IHh1FQ6?= =?Windows-1252?Q?gS8WdDvka7F+wK5awUd49NR4bjDUELQsHbr9cWry8uh25YlWrkOv8EMz?= =?Windows-1252?Q?ixpD391/75P5EC/2NVZlz3FkqfmrEHzqZOuZblgkusJZgqboNnYng+0f?= =?Windows-1252?Q?2zlS14ciuRjg6XR21oZgmCc5K6gi5waR13dBfvNWoTy/aImxudnfOao7?= =?Windows-1252?Q?VMpR7vPL6oIJMnft01kMWNk8C7nnEh0rZK4PBB8opIKoSPAHAWat+q4t?= =?Windows-1252?Q?qsk3yKqm8g6Jkg0dZc1fQeHTGfVt7LTGunH43x5c6679wwNbGtO0xxt7?= =?Windows-1252?Q?jsqlt3eiTKyowtbyyuqkUgfmWhhov3F9xHbPddWDFXtjT9Mp54TeZb/I?= =?Windows-1252?Q?jUNuPCg6nv9vyFxN0thw97JgrUiJ53z3GDhgHKKv7T+4hVA1pWO7nmSJ?= =?Windows-1252?Q?b6JTvCK0UI/yaYHAGy7BLp4ajQnbXus+OQ9yetalyEJORUkqDCQGO4XL?= =?Windows-1252?Q?M/F406yQJjSPEAGbLAkq8XmGpkMUwpwfKoLPfAEVOe4tb81vRQtW8hea?= =?Windows-1252?Q?y8Z/CKj+jDzBlVlAeT9QXUKdD/8bRNyWGvcav8gf6/a5uJQh/bOP0X8B?= =?Windows-1252?Q?/fRuxTN8tgVyW5k3yUf95ybvnckkAHkl6osSio8/6hE1NZCysvW9Xj35?= =?Windows-1252?Q?/UQFRg4MpaEcvfG5od4ZiWENCjq3ixrY7NYHxvitqbivpMpl3wCbgTaZ?= =?Windows-1252?Q?fH38FxtsW5vxWOG5vFN4Srtowul8injwi+AEjthmsct0z0aLEAfzTDij?= =?Windows-1252?Q?1gvbKLkUXuzrEwG4EyFEOu9D8pGz+?= X-Microsoft-Exchange-Diagnostics: 1;DB6PR0201MB2310;6:CJffrHOiGIb+KZTLUNt0l9HKUPiF0lfpHTgLuFzF5E838A0Kn9i3C8q9MMUAmNqAE2Es8dOsfoLVw46Fr1YLHSXO/5He2LcdSfw8TXzD3EtwZFIoK3Yf5t/v3oAQZbZHWCDY4PLhnYchbwyb/liufuH2AbgpJtTtw9w0QRjLFeZgqF93stSG+C6RzvFD/6ANCTQalUDTm/Gubttd2Z/69rhaKw8QPy02R+Xy3022A3W2nHq+4eAEui3cIR7bKYQB8EyUFDlKQTlnc/1LhTrMOpUV1bIHeCc3zUicFvcOaAY2OqIcQGoavfzfKO0fukvr;5:pfQ/ns1aly6Mu1kx+CeFm24xGFIRYx/sqS7p4jh5bARe2IBVPUIzZF8Ke8niIpKIYEb14lLEu9AlFBKZKKfhiMBXSQpv24RCoMFs+bAae4PBNgK2wtgoJ3m9nSppqsIMUD028auyOLpWMNcqnx7JQg==;24:Rrl0gPz49KZ8Vpc5LaIr9VlgsEhd6KWaDLTdINoDiwy1T+/wTl2y3UnQSlOXxuQbBgnw61SqcArAG2GIA/I+iqTzawf/euK1y8jFSHeqSf0=;7:eFzij1npEsYqPcYOd5JKN1JEr6VEjNJx92Tj2bx5dXmfRc4NhciaFbB7O+pMD0gzn3aj9oRHsVGL7TyX0Xb9/DxoeQ/SYGxfWaSke1iysZvlWkYSRLf+dHtucsCPLJ4dNcmRIovAKlBYsJ/k48CsEsCuKx1R5wANsmxo5s5Wam0WeIWkmesaTU0ySM5sjjcOXJiPJ8of6uSqVeizp2RikdEzUTXakz5zgw8N5npJKwrwJRluSYhik6nRmLnEV6KQJjlgiLM0EOVitDqsiEwI9pm1e4x/kbKKp3j/4JJoZdtzwxHOg+GC1mhSbHkpCk4lLqB98cvtBYehGfoDHoTnmKCK/af1fVY4PK0l5B5m23w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2016 14:53:13.6629 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0201MB2310 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1902 Lines: 78 On 2016-10-07 17:18, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add device tree bindings document for the SAM MDIO block > present in Juniper's SAM FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > Documentation/devicetree/bindings/net/mdio-sam.txt | 48 ++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/mdio-sam.txt > > diff --git a/Documentation/devicetree/bindings/net/mdio-sam.txt b/Documentation/devicetree/bindings/net/mdio-sam.txt > new file mode 100644 > index 0000000..7d354e0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/mdio-sam.txt > @@ -0,0 +1,48 @@ > +Juniper SAM FPGA MFD MDIO bus properties. > + > +Required properties: > +- compatible : "jnx,mdio-sam" > +- reg : The start offset of the MDIO bus range > +- #address-cells = <1>; > +- #size-cells = <0>; > + > +Optional properties: > + > +Required properties for child nodes: > +- #address-cells = <1>; > +- #size-cells = <0>; > +- reg : The MDIO bus offset within the MDIO range. > + > + > +Example : > + > + sam@10 { > + compatible = "jnx,sam"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + mdio-sam@10 { This should be mdio-sam@40000, OR ... > + compatible = "jnx,mdio-sam"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x40000>; ... this should be reg = <0x10>. AFAIK. Cheers, Peter > + > + mdio0: mdio-sam@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0>; > + }; > + > + mdio1: mdio-sam@4000 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x4000>; > + }; > + > + mdio2: mdio-sam@8000 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x8000>; > + }; > + }; > + }; >