From patchwork Thu Feb 15 10:39:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10220847 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 D06276056E for ; Thu, 15 Feb 2018 10:39:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF3A929128 for ; Thu, 15 Feb 2018 10:39:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B39202912D; Thu, 15 Feb 2018 10:39: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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 26AE82912B for ; Thu, 15 Feb 2018 10:39:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755479AbeBOKjk (ORCPT ); Thu, 15 Feb 2018 05:39:40 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:47541 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755357AbeBOKjd (ORCPT ); Thu, 15 Feb 2018 05:39:33 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180215103930euoutp01c28de1014fa7da7db0891caaf23f72e3~TeZLO1ITr1265312653euoutp01R; Thu, 15 Feb 2018 10:39:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180215103930euoutp01c28de1014fa7da7db0891caaf23f72e3~TeZLO1ITr1265312653euoutp01R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1518691170; bh=noOKEYVQUZiG9Sh1dW1W9Z6VzayWb3UXhMLquYKndZU=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=QzMvbFHhcp8obC6Tx2DPm7wbXUIy3Obw0UObo2ymHu+KyaJLl88q6//Agxz0JaoHT j6PpiK6Z+tAetf79WyNDrNXGXdj4J0CrT2pg0JvMMflkQ7wdxSsDJq0l5wNdgB/O7A MNP0izq30XvlSZmDKAmQnqddbT3UVH1Q5ZNzvO78= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180215103929eucas1p17accaa84532dcef3c8f80530f34fcf1f~TeZJlO-Sk1277212772eucas1p1c; Thu, 15 Feb 2018 10:39:29 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 36.9B.10409.F53658A5; Thu, 15 Feb 2018 10:39:27 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180215103926eucas1p2f13dcf5aa4e102e7f0145c976a60bc72~TeZHFZyzC0207302073eucas1p22; Thu, 15 Feb 2018 10:39:26 +0000 (GMT) X-AuditID: cbfec7f5-f95739c0000028a9-ec-5a85635f2bb7 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 99.ED.04183.E53658A5; Thu, 15 Feb 2018 10:39:26 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P46006GJTLN2910@eusync3.samsung.com>; Thu, 15 Feb 2018 10:39:26 +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: [RFC PATCH v2 2/6] dt-bindings: add bindings for Samsung micro-USB 11-pin connector Date: Thu, 15 Feb 2018 11:39:16 +0100 Message-id: <20180215103920.32017-3-a.hajda@samsung.com> X-Mailer: git-send-email 2.16.1 In-reply-to: <20180215103920.32017-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSe0hTYRjG+3auWrPTlPxaYjSVLuAlivgiiZKoQxEFBuYobephSk5tx3tU y7S2ecEbpGhqoiN0malZzVLS0SzBuVZaQUlJmdKsMENnZs5j/z3v+/ye9/1e+GhM8gOX0glJ qZw6SZEoI93xzmdzg4HRsXnykM6eQPSuZZBAOVoHge5V3CXQyK9xAtWal3qvZr6TqHS0GEdW ayuFdCUNFGobGyaQ3VRNogprtwjVG/IwdMf8nkKNIzYRyntipvYzrLHGCFh7UaGIrdJWEmxb k45kR/MtIra94TJb1NEE2Ok23xO03D00jktMSOfUwfvOusc/tWioFNO6zMWZTlwDTB564EZD ZhcccxhJPXCnJcxtAEvsLaTLkDDTALZqsvWAXoZKrgcJjAFAfZmTEIpFAIsK54ErQDLb4EL7 2+WwF3MGTr00YS4IY4ZwODQwSbkMTyYK2joMuEvjTACsq64nXFrMIDivn6KEJ22Cfd9yCNdm N2YPLK9FrjmQGSXhrccFQGAOwo/9paSgPeGkpWMl6wPtZfm4EMgH8EW3DhOKcgCtk3aRQO2F fRbb8maM8YClnTcw4U4x1F6TCAgL5yrur+AHYEVx98rJBQCWvrlJFQ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s+SJ4vTbk70 +cS1TPJazxtu7T3Bcw4m+q0UMP9rflkzZseEe7cUuiZwh6/WnHOOs0ORq12JpTgj0VCLuag4 EQAcNpCUVAIAAA== X-CMS-MailID: 20180215103926eucas1p2f13dcf5aa4e102e7f0145c976a60bc72 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180215103926eucas1p2f13dcf5aa4e102e7f0145c976a60bc72 X-RootMTR: 20180215103926eucas1p2f13dcf5aa4e102e7f0145c976a60bc72 References: <20180215103920.32017-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 --- .../connector/samsung,usb-connector-11pin.txt | 51 ++++++++++++++++++++++ 1 file changed, 51 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..c8ef1ad6732f --- /dev/null +++ b/Documentation/devicetree/bindings/connector/samsung,usb-connector-11pin.txt @@ -0,0 +1,51 @@ +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". + +Optional properties: +- label: symbolic name for the connector. + +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 : + +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>; + }; + }; + }; + }; +};