From patchwork Wed Feb 21 08:55:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10231469 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 54C6260209 for ; Wed, 21 Feb 2018 08:57:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CBE928A9D for ; Wed, 21 Feb 2018 08:57:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40EB628AA2; Wed, 21 Feb 2018 08:57:02 +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 B6AE428A9D for ; Wed, 21 Feb 2018 08:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752664AbeBUI4Q (ORCPT ); Wed, 21 Feb 2018 03:56:16 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54300 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbeBUI4I (ORCPT ); Wed, 21 Feb 2018 03:56:08 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180221085606euoutp0194f020b80ca2423f86e8d5170400b0ba~VS2mxJ3Qd2444524445euoutp01S; Wed, 21 Feb 2018 08:56:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180221085606euoutp0194f020b80ca2423f86e8d5170400b0ba~VS2mxJ3Qd2444524445euoutp01S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1519203366; bh=RzwcnebEppFpyKQxo771tvlr2ORenBHAGv7pAb2fzSk=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=k1G3FsBJ6FGU8/mVGjWm9a146dLotmQj4A8EfcpZhZSeWIYkzd311IoZOtvvTc0Jb tWdWXfdBl5E4GM5qbXJQoCS/5E4KC1f284AwvBop8O1ZPeYPOazXimREFS3/f6Dkt2 03vRCO1Z2ZDTylH+6DUBVQdYv17Ls1Tg7QvhIRqc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180221085605eucas1p19f2512b600755c72d909b726787bd941~VS2mGA45h0840408404eucas1p1r; Wed, 21 Feb 2018 08:56:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E2.03.17380.5243D8A5; Wed, 21 Feb 2018 08:56:05 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180221085605eucas1p164d6a334353cf34c4c6f203bf7dec6ae~VS2leC2kb0839508395eucas1p1n; Wed, 21 Feb 2018 08:56:05 +0000 (GMT) X-AuditID: cbfec7f4-713ff700000043e4-d4-5a8d342541b8 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 39.C5.04178.5243D8A5; Wed, 21 Feb 2018 08:56:05 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P4H00IT3STE0I20@eusync4.samsung.com>; Wed, 21 Feb 2018 08:56:05 +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 v4 2/6] dt-bindings: add bindings for Samsung micro-USB 11-pin connector Date: Wed, 21 Feb 2018 09:55:37 +0100 Message-id: <20180221085541.14556-3-a.hajda@samsung.com> X-Mailer: git-send-email 2.16.1 In-reply-to: <20180221085541.14556-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djPc7qqJr1RBk++qVncWneO1aKp4y2r xcYZ61ktrn95zmox/whQ7MrX92wWk+5PYLE4f34Du0XnxCXsFpseX2O1uLxrDpvFjPP7mCwW LWtltlh75C67xdLrF5ksWvceYXcQ8Fgzbw2jx+W+XiaP2R0zWT02repk87jffZzJY/OSeo++ LasYPT5vkgvgiOKySUnNySxLLdK3S+DKeHKkquCgUMWE8/NZGxjX83cxcnJICJhIXDvVzQRi CwmsYJT48Fm/i5ELyP7MKDHrxRb2LkYOsKIdvzgh4ssYJV6ffcIK0fCfUeL4VB0Qm01AU+Lv 5ptsILaIQKzEu0u7mEEamAUusEhcOP2KHSQhLBAlMfn9JGYQm0VAVeJg11xGEJtXwEJi3aEp jBAXyUscftMEtoBTwFLi995JYIMkBG6zSVyetRGqyEVi4tT1bBC2sMSr41vYIWwZic6Og0wQ Dd2MEqf2dUJ1T2GUOP/qMhNElbXE4eMXwVYwC/BJTNo2nRniT16JjjYhiBIPiRPHrkMtc5S4 +ukKM8T/PYwSq89tYpzAKLWAkWEVo3hqaXFuemqxUV5quV5x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/6/jfuXXfrRf/BvsZ/3yvsbHVW9zNofH/LhfbWpvutw6IKrtSH9Rlcc45VYijMSDbWYi4oT AZkUPktTAgAA X-CMS-MailID: 20180221085605eucas1p164d6a334353cf34c4c6f203bf7dec6ae X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180221085605eucas1p164d6a334353cf34c4c6f203bf7dec6ae X-RootMTR: 20180221085605eucas1p164d6a334353cf34c4c6f203bf7dec6ae References: <20180221085541.14556-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>; + }; + }; + }; + }; +};