Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753318AbdDCNaX (ORCPT ); Mon, 3 Apr 2017 09:30:23 -0400 Received: from mail-dm3nam03on0060.outbound.protection.outlook.com ([104.47.41.60]:14605 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752055AbdDCNaT (ORCPT ); Mon, 3 Apr 2017 09:30:19 -0400 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=analog.com; From: To: , , , , CC: , , , , "Michael Hennerich" Subject: [PATCH v3 2/2] dt-bindings:i2c:mux:ltc4306: Add dt-bindings for I2C multiplexer/switch Date: Mon, 3 Apr 2017 15:31:37 +0200 Message-ID: <1491226297-4970-2-git-send-email-michael.hennerich@analog.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491226297-4970-1-git-send-email-michael.hennerich@analog.com> References: <1491226297-4970-1-git-send-email-michael.hennerich@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39850400002)(39400400002)(39860400002)(39840400002)(39450400003)(39410400002)(2980300002)(438002)(199003)(189002)(6666003)(2950100002)(50226002)(5003940100001)(305945005)(38730400002)(107886003)(4326008)(189998001)(356003)(7636002)(50986999)(2906002)(2876002)(76176999)(47776003)(86152003)(33646002)(106466001)(36756003)(5660300001)(54906002)(77096006)(48376002)(86362001)(50466002)(8676002)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB3139;H:nwd2mta1.analog.com;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD045;1:3YmjnRTwy487+WyKGqHg6frk9MV2LwFsMM4qOiH+bT/FdIDEPUHBqa00kkTwL3YgsnfQqs0tKPupzpFebvnPdCIMFLIWTPbbZknofYkk+7WpXW+FTlU7+hPuqmlQTVbGajxr1oddXfp7sIb63bfY4BtLHfFUQAu4oFRwMOANV0M857llw/HakkBDE9SQ1CXL5KWMpTiTKEh2lKcg+lDVig8XCTNaO4imQffDyaiHCfPe7wEGNOVqM4JXAB+kzDEWcQDBfvwhPQKW6BQBIiqgYUqeU9DReHCmC62BzgMBq70RcDZOudQjxQwShJZjXfFzKN/goapRI283qi/KYc+qm7LIvfFDOLdNPpYwkIM+t9UesvASu02KTlhIofWBS94pAK0/LNOyDI4BwbiqiNTwcefVWBQIs8QmPvbjSR8CCP+YNtZEoZ4apGggEvMBEf76Ni7M1PHgqrXwCX2rvBrYVP/SWq54O8rF98zqiK+lXoIa/Cx2JC+JHotTeMxMwkfTQLz0+42HvoTVwZ0xqAtd0u1PqdKOnScCJ0gTjquew8ujv59BjKXtuBZ+XbZ+i1qeK726lpOMGHL29bnP1PzPquSwi2fr2mOEmBpfw2vSxp3pnaNGM9i5YtiBYRhhJC85 X-MS-Office365-Filtering-Correlation-Id: 709fac2e-7bca-479c-1e78-08d47a959046 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075);SRVR:BN6PR03MB3139; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB3139;3:EI+A7zuZiRd2qIm4XBBr+Fv6kJEbfpEaIQ4zjHVxN0WCwFFJcI0AsEkc7Pkydjf9BczaTFxZyogCQA1snaCU//cwwg8W9bKw1YTTrG/CdtzdsDUWSO+NF+cCZhO8vA2qLWTAg6xHp6MQUraGJvBe5EyZBiF7qzOxv/nm3hL+Imwz43hmiZ9hbbeA3jbII1DwO0V+YDv/x/S08g3Cg9Ae0sJBtPJp3snZWcyWTVpLoPoHQIwzoPqX0kjLlyGG3V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xukshJQFFcWfT4gIyUTpdRmveQJuVuHa9Z/PDHBNwUPHVI6jbSJ/DtAXWkeNfv4MG8GU07I671YFfw4C4x/4P4+OT2bM1afM07aDRqNeJK/EDYKTqL9VWB7TxNyxK5XW0YoQT2WD+ke9wtRpPfGAb+hEBQQ+Lh8zT5GUhvg5NsaJHiyO6thZtYMFViSPg+wM/KpVJOSQpK3hHLmDfttNg9sMMHGPJt+n6Lu3SC6wkwh+zzutidNgZBdm6aD50ZTVGdv2gehw4VCT4uspCJrxoKsNAx1JW/2vyQWul+iG6AOrcqXTtU6QzPniZl83qJcdTc1NN0lmaoGOq0WoelE5rkp9/FatNN3iX5E9UR2cZLFuEITcaQrty/ucxc0Sgy6meVsQ91Pbtr/xYn3tRmx479W/MQu2DtsmsfLa2IyE/ZELNbPsccNXjxqz+5OIXDuCLg9r0aPPFyAIr1UszuS2F1KMbQ7qTRzXyOAYpbtB6kRMBRyA7X4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13017025)(13015025)(13018025)(13024025)(13023025)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148);SRVR:BN6PR03MB3139;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB3139; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB3139;4:fWXN2PMuVSaMOm9wUeEEWe4qwcciMAhHQiAO723KPoz+Af0uH4NpQFhJxpKAbT1hvOnhXZDei2SF614Qv90xrEAD3P2ejzndD/LZnRqWiqTZvCM4PXmOo/M9TSlZ+lfHR6BWBuWrfOkpUSfXYNENzKTKSi7ux70pl4Mz/QGa8gTWDGd+vODe0mEMhO4bWo46dCvamzrWd/7TTZs/iDkVG/uMezd3Nee3oPU4taB2dFpYfRMYD+yeN5o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DpSpA038vT0n+e5HK2bOoeC8AjZ6s1l7AnTutYKuQtttgcBfsQueqnZSKzWi8wXaqYrO/GDxWFkm3nCGGFHLu8zOL1uG9oBcdpIvt+GABcWKpZyk+76PAlnCYkcqeaMTpe+D4GehLwUotRfBYhSHdc92vVWGGgEVNujblTBbdhcBsbRXsgSVMevxz0+qcEtCjwr9dPmA3mlyfVrmyH5YDw3pWdYEMIo7DpNGYTn9f/oLI+EjsAN6e1HT2GC+hIITjfNQIewgzyOaVjqmH+UpM=;5:Szzn9mkfYKkDPGkCfVzfS9byU/pp18M+tVU51mPg+iCrQdSR+88KWJqnmQ/WVSY30JBHERRuxPpRTSYZCu0FuQ4TXutRvYHwRCK/03FnmU/jgpT9fK4NlwdA7VJpq3+M7U/nAnOCeUG7J/gTRrWtdw==;24:YFul9HajWlu8DmN4WkO5HIeEBbe5f1wa1nRSNuz6YA57l3XN61qTjE5U1eP8MNnglQ/Hw2iIVmH1o/pDB81Pt0+3x8MtT3G8o1b7sr5ZEQY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB3139;7:UwD2HoXTWZtWC3zyH62QIrG73Fk968qYFUgIUTI+c2r6BzCqQOLpFFWmxZkWp5wzUg6R066xcMbfzPfPHc3z7qwrWCtFx5RWmx6t40ibXIGudyagnqlQm8uuj0L/LtlyBNW3VZwQYbj+9ifc6gTvkyBB6nkaXREssR2wkK6JVoM7lkYbHg8s5pBzy6FAhXx3C49XmvQv5+LJ4XIsBYY3cJK3BqhBLFapjdVc102YxwlrybF2FERTcpskVgc6bhxkoWf76GLSq8ZOWvK6AaRuHxQgnzD7iDl4vb5BU5SwbQNCXlBosFbnSbrX/dvQUFbtq48PhKD4bpyfFLoX7imm8w== X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2017 13:30:14.9228 (UTC) X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.55];Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB3139 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2303 Lines: 78 From: Michael Hennerich Signed-off-by: Michael Hennerich Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-mux-ltc4306.txt | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt b/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt new file mode 100644 index 0000000..1e98c6b --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt @@ -0,0 +1,61 @@ +* Linear Technology / Analog Devices I2C bus switch + +Required Properties: + + - compatible: Must contain one of the following. + "lltc,ltc4305", "lltc,ltc4306" + - reg: The I2C address of the device. + + The following required properties are defined externally: + + - Standard I2C mux properties. See i2c-mux.txt in this directory. + - I2C child bus nodes. See i2c-mux.txt in this directory. + +Optional Properties: + + - enable-gpios: Reference to the GPIO connected to the enable input. + - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all + children in idle state. This is necessary for example, if there are several + multiplexers on the bus and the devices behind them use same I2C addresses. + - gpio-controller: Marks the device node as a GPIO Controller. + - #gpio-cells: Should be two. The first cell is the pin number and + the second cell is used to specify flags. + See ../gpio/gpio.txt for more information. + - ltc,downstream-accelerators-enable: Enables the rise time accelerators + on the downstream port. + - ltc,upstream-accelerators-enable: Enables the rise time accelerators + on the upstream port. + +Example: + + ltc4306: i2c-mux@4a { + compatible = "lltc,ltc4306"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4a>; + + gpio-controller; + #gpio-cells = <2>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + eeprom@50 { + compatible = "at,24c02"; + reg = <0x50>; + }; + }; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + eeprom@50 { + compatible = "at,24c02"; + reg = <0x50>; + }; + }; + }; -- 2.7.4