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: 10220863 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 64E1160467 for ; Thu, 15 Feb 2018 10:40:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5235429128 for ; Thu, 15 Feb 2018 10:40:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 463902912D; Thu, 15 Feb 2018 10:40:48 +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 A77D129128 for ; Thu, 15 Feb 2018 10:40:47 +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=Sr08dJvm7eSQyszGegbyosZHLbTJkEGMixAxEkV+hQM=; b=YgUBKN6Qpiq2cu/p7ROCfcFrKp ppxHvOI9yegyxyABIrMyvcliPfWtHDdoOPuKM4TfUok61e/y3L2F0DDGH9DOOJqtuwfDJuXAqTe8m pWd7Hh+llQuxhDraUn3clG7YjY1Qx7rBn7LVaOhQJ3JUBz/co8Qz+BJaHH2FvfQFaX8UHtn698NlS tc0e5dFyIqMGWUDXWU0H8M2+UuhZPSH0be7Sh06V/a6aNsTTPpnS2ObIsjOt7rgVQmsOEgyEcAG9c jg3QxcrCdzG0KolBuJD83f8p8LbrrmlN5QPEqtoT2et7LQxHhpZ5MvXjtOc178g6sLE9LS2qQ5vS/ usYq/k0A==; 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 1emGxs-0003Da-Bc; Thu, 15 Feb 2018 10:40:32 +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 1emGxA-0001x7-Mk for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2018 10:39:51 +0000 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) 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 y7S2ecEbpGhqoiN0malZzVLS0SzBuVZaQUlJmdKs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jffZzJY/OSeo++ LasYPT5vkgvgiOKySUnNySxLLdK3S+DKOHi8gb1gl2DF/6/bWBoYd/F1MXJwSAiYSExs1+ti 5OIQEljCKLG39wQzhNPIJLHo4EUgh5ODTUBT4u/mm2wgtohArMTbU5/BipgFLrBI/J44kx0k ISwQJ3FxyzIWEJtFQFViwZxFrCA2r4CFxO+ud2A1EgLyEoffNLGCbOYUsJSYMt8CJCwEVLJx 8jzWCYw8CxgZVjGKpJYW56bnFhvpFSfmFpfmpesl5+duYgQG7LZjP7fsYOx6F3yIUYCDUYmH 18CmJUqINbGsuDL3EKMEB7OSCO/HqNYoId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rznDSqjhATS E0tSs1NTC1KLYLJMHJxSDYwr2k9P+v73/8OXDpkrEybzPnUy5s9Rz5S6+zDUcqHtDfXEqq/P +TmMFj8xzd+i8C6W+5aSdM1N9W1rNHalXIrpyZQtuNp9MVG82VOB/YuWgZdT3s+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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_023948_964780_354A8853 X-CRM114-Status: GOOD ( 14.04 ) 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 --- .../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>; + }; + }; + }; + }; +};