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: 10231489 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 67FE160209 for ; Wed, 21 Feb 2018 08:58:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CD0A28807 for ; Wed, 21 Feb 2018 08:58:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E9EF28AA2; Wed, 21 Feb 2018 08:58:42 +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 C3F9628807 for ; Wed, 21 Feb 2018 08:58:41 +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=7GUZ8XaO/5xRqEYNQy7QuMoH4796EvxAZQwUQRvw/2g=; b=VF3ba6AIZ2aSObXLIBdAqU8M6p HIuC8Wl0uvymYS/Ze6JdVEhPIDrwbWwFaI0Ui8hCMekgbmhVyNuFyVEFAFv8DNDA6oAzqLN27HDTM 6ajA62cVdBuisfQscAl4aN3mROb+dXlW9koFr1mkR/m4EWM+lJQs9xtAuFaNL/5OabZrdavtVvRKG +Em3bUgmUGmOUyxxwgm0KwawWcFFCwD91EQy1SZog8q0SUz4dPa7gYMRlO9+un1wQsqdAqc9kF9EK WiJPdQsGpNOqcZRKLrMHKKrPHuyRs/mbHWSs2i6jwzqkFSUxzNGxTOFdtfPTt+cNX+4acoEB3xiuK xOmcWnIQ==; 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 1eoQEO-0000zD-W5; Wed, 21 Feb 2018 08:58:29 +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 1eoQCP-00080H-9V for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2018 08:56:27 +0000 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) 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+5PYLE4f34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Seo++ LasYPT5vkgvgiOKySUnNySxLLdK3S+DKeHKkquCgUMWE8/NZGxjX83cxcnBICJhI7PjF2cXI xSEksIRR4tPiE4xdjJxATiOTxJKZHiA2m4CmxN/NN9lAbBGBWIm3pz4zgzQwC1xgkfg9cSY7 SEJYIEpi8qqLrCA2i4CqxMGuuWCDeAUsJNYdmgJmSwjISxx+0wRWwylgKfF77yRmiGUWEh/O fWWfwMizgJFhFaNIamlxbnpusaFecWJucWleul5yfu4mRmC4bjv2c/MOxksbgw8xCnAwKvHw Wuj0RAmxJpYVV+YeYpTgYFYS4a0U6o0S4k1JrKxKLcqPLyrNSS0+xCjNwaIkznveoDJKSCA9 sSQ1OzW1ILUIJsvEwSnVwOjp80mWc9HczQv/9B9dG2Uo5VOr09f3rPvqnfX7rWd6RCY3+HvP /7u2V1TJQKt43v/1KhLLOn47LjrSuUa14uzSk1kezc/jHomUsFZ1rnGx269Qu9ZfxnkPg9iD 4/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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180221_005625_522468_3291335A X-CRM114-Status: GOOD ( 13.36 ) 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>; + }; + }; + }; + }; +};