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: 10244409 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 9BAD4602DC for ; Tue, 27 Feb 2018 07:12:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 898BB2A568 for ; Tue, 27 Feb 2018 07:12:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D9D42A57C; Tue, 27 Feb 2018 07:12:22 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C94CB2A568 for ; Tue, 27 Feb 2018 07:12:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752205AbeB0HLu (ORCPT ); Tue, 27 Feb 2018 02:11:50 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:47729 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbeB0HLn (ORCPT ); Tue, 27 Feb 2018 02:11:43 -0500 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) Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, Inki Dae , Rob Herring , Mark Rutland , Krzysztof Kozlowski , Chanwoo Choi , Archit Taneja , Laurent Pinchart , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org 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/lxStMPOVTnSh3TYRHJtcTRVRJmE2PXuIpalpLz8N/7/Xm/Pj/++JAo/R3zJuNV ybxaJU+QEW5Yc8+idU89Vs4F6vuCmM+P+3Hmav4szjytaMCZoYVpnLnbvVJ7/9NBMKXjxRhj tT6RMJqSGglj+vIRZ2yttwimwtqOMNV1uSjzqHtMwtQODSJM7vNuSSjFGu8YAWsruoawlfk3 cdZk0BDsuNaCsI01WWxRkwGw86atx0nOLSSWT4hP5dV7D8e4xQ0XTmNJnXSauV+DZ4OGTQXA lYTUATj1tQMUADeSph4AWNY7s2bmATRrx8A6VTKlI8SgDsCZnGpcNMsAPiufQ50UQfnDv43D hFN7Umfh3LtW1Amh1AAGB3rtEmfgQXFwtK0WKQAkiVHb4egnzFmWUgx8rZ9ExW3b4L2+D6va lToIO66/Xd0MqXEC1rVXIiIUDgf+TGGi9oB2S5NE1L7QVqbFxAYtgG/aNahodABa7ba17mD4 0jKIOzVKbYSlzTdQ50WQksL8PFpEWOgY/rY29Ch8NftiF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W+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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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>; + }; + }; + }; + }; +};