From patchwork Tue Feb 27 07:11:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10244433 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78389602DC for ; Tue, 27 Feb 2018 07:14:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 620E42A26B for ; Tue, 27 Feb 2018 07:14:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 545722A2E7; Tue, 27 Feb 2018 07:14:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D36E52A26B for ; Tue, 27 Feb 2018 07:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Eitfh8LrqQ3hEdIIDRZpbzdwKSdtUNXIsmG2w5hTsmQ=; b=B++md5OxhpF2H4PJ9I/wA739/a GyPuN72UsncRBa8Xz5Tfnc0o9U05Txb7Xr2ZwMOgb4/8mQxS9RR+/FqwbYaA4ezdQ485GA+MDShxq bLVE+WpZDDofuixvklHJ3bxc+D6ZPsDv+KPZbL1cD7rvt/8hJrbANHotvY/xPirXbgie9dTs/doHS OzW8YxwucQ9sJa0qeGoMn1lJMa6yrXC5DRxEjmYKwCdGmcZsAJfNhzYXnltn7Iw/cLke46jyJdBpg RTFufC/jSBJozZRic+xs2AvUWO7bgYC9szZPpE8jLjnh/Vf8LXg89qcpj5NuwYO8MxMUZGBCUlG0+ KSsI4ogQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eqZTN-0002s5-NL; Tue, 27 Feb 2018 07:14:49 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqZQZ-00019w-6C for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2018 07:12:00 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180227071140euoutp01e0f71a589e1ed776ce441ef3d6075269~XHTI9iYIA2121721217euoutp015; Tue, 27 Feb 2018 07:11:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180227071140euoutp01e0f71a589e1ed776ce441ef3d6075269~XHTI9iYIA2121721217euoutp015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1519715500; bh=COjbHG4ggSjJ51QbrTI546MAcFsaE9KDYC2XmqcIFBM=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=rVbLmePdxchFTzuQok33lUZbseTlVgUMZm0FzQVEgU50dRC/fgiEggNmfopiEMnKF a8HoV6yxxvXmazzN0ovYkTADohLtZz5FoxVjxX1/UNxvCGqNr+UYzXEw8C+UgNcv3w WJJwNpNZv7WH7RMKzfOHuvuLc7d+l774woo0xwUI= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180227071140eucas1p1e320145f1ed3aff0927bbcee97ef6225~XHTITJNAL2996729967eucas1p1P; Tue, 27 Feb 2018 07:11:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 70.98.17380.BA4059A5; Tue, 27 Feb 2018 07:11:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180227071139eucas1p125ee35ada221fbed1dc85b7fc250f9ca~XHTHi-v3j1016310163eucas1p13; Tue, 27 Feb 2018 07:11:39 +0000 (GMT) X-AuditID: cbfec7f4-713ff700000043e4-7c-5a9504abf5ee Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CD.EE.04183.BA4059A5; Tue, 27 Feb 2018 07:11:39 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P4S00AJMRZD4P00@eusync1.samsung.com>; Tue, 27 Feb 2018 07:11:39 +0000 (GMT) From: Andrzej Hajda To: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH v5 2/6] dt-bindings: add bindings for Samsung micro-USB 11-pin connector Date: Tue, 27 Feb 2018 08:11:30 +0100 Message-id: <20180227071134.28063-3-a.hajda@samsung.com> X-Mailer: git-send-email 2.16.2 In-reply-to: <20180227071134.28063-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSfyyUcRzHfZ9f95Crp4fNd6i2s35oS2rZnkYls/XMX22l1jPJlWdHuWP3 IGz50cack/lxStMPOVTnSh3TYRHJtcTRVRJmE2PXuIpalpLz8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5nG/+ziTx+Yl9R59 W1YxenzeJBfAEcVlk5Kak1mWWqRvl8CVcbPnOUvBQaGKHec6WRsY1/N3MXJySAiYSEx8OoWt i5GLQ0hgCaPEtI5PUE4jk8SkE9uZQarYBDQl/m6+yQZiiwjESrw99ZkZpIhZ4AKLxO+JM9lB EsICURIHnixh6WLk4GARUJW4c4MFJMwrYCFxYvETZoht8hILz14FszkFLCX2TzsDNlMIqOZ+ 5zHWCYw8CxgZVjGKpJYW56bnFhvpFSfmFpfmpesl5+duYgSG7LZjP7fsYOx6F3yIUYCDUYmH d4bclCgh1sSy4srcQ4wSHMxKIrwrF0+OEuJNSaysSi3Kjy8qzUktPsQozcGiJM573qAySkgg PbEkNTs1tSC1CCbLxMEp1cCot0G8MGDrj2ufY4r9ig5mv5QuuD/dzkTpZGKip3PJmqT3KwPn HuxgnStXd3JD1vHfq4tf2yt6HY3+274lJ8RXxnbNR51TruFbDfM/tq5W+f/qiN5lkU/d7c03 uS6ebb+cvlLDy9+18cd9Xwf1RV0z7bLWPLJefjlpnlW6av+rL9uUty8+9POrEktxRqKhFnNR cSIAOCf0+lUCAAA= X-CMS-MailID: 20180227071139eucas1p125ee35ada221fbed1dc85b7fc250f9ca X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180227071139eucas1p125ee35ada221fbed1dc85b7fc250f9ca X-RootMTR: 20180227071139eucas1p125ee35ada221fbed1dc85b7fc250f9ca References: <20180227071134.28063-1-a.hajda@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180226_231155_558830_9596E7A7 X-CRM114-Status: GOOD ( 13.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Archit Taneja , linux-samsung-soc@vger.kernel.org, Laurent Pinchart , Chanwoo Choi , Bartlomiej Zolnierkiewicz , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Inki Dae , Andrzej Hajda , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Samsung micro-USB 11-pin connector beside standard micro-USB pins, has pins dedicated to route MHL traffic. Signed-off-by: Andrzej Hajda Reviewed-by: Rob Herring --- v4: - removed description of property inherited from usb-connector (Rob), - fixed example description. --- .../connector/samsung,usb-connector-11pin.txt | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt diff --git a/Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt b/Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt new file mode 100644 index 000000000000..22256e295a7a --- /dev/null +++ b/Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt @@ -0,0 +1,49 @@ +Samsung micro-USB 11-pin connector +================================== + +Samsung micro-USB 11-pin connector is an extension of micro-USB connector. +It is present in multiple Samsung mobile devices. +It has additional pins to route MHL traffic simultanously with USB. + +The bindings are superset of usb-connector bindings for micro-USB connector[1]. + +Required properties: +- compatible: must be: "samsung,usb-connector-11pin", "usb-b-connector", +- type: must be "micro". + +Required nodes: +- any data bus to the connector should be modeled using the OF graph bindings + specified in bindings/graph.txt, unless the bus is between parent node and + the connector. Since single connector can have multpile data buses every bus + has assigned OF graph port number as follows: + 0: High Speed (HS), + 3: Mobile High-Definition Link (MHL), specific to 11-pin Samsung micro-USB. + +[1]: bindings/connector/usb-connector.txt + +Example +------- + +Micro-USB connector with HS lines routed via controller (MUIC) and MHL lines +connected to HDMI-MHL bridge (sii8620): + +muic-max77843@66 { + ... + usb_con: connector { + compatible = "samsung,usb-connector-11pin", "usb-b-connector"; + label = "micro-USB"; + type = "micro"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@3 { + reg = <3>; + usb_con_mhl: endpoint { + remote-endpoint = <&sii8620_mhl>; + }; + }; + }; + }; +};