{"id":801910,"url":"http://patchwork.ozlabs.org/api/1.2/patches/801910/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1926a457a86a1d90b923482179bf76dd1c74f3c1.1502854628.git.chunfeng.yun@mediatek.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.2/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1926a457a86a1d90b923482179bf76dd1c74f3c1.1502854628.git.chunfeng.yun@mediatek.com>","list_archive_url":null,"date":"2017-08-16T06:08:13","name":"[v2,4/4] dt-bindings: mt8173-xhci: add generic compatible and rename file","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"5c345f7633bc52d3789d3dd433f123b5d096a997","submitter":{"id":66488,"url":"http://patchwork.ozlabs.org/api/1.2/people/66488/?format=json","name":"Chunfeng Yun","email":"chunfeng.yun@mediatek.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1926a457a86a1d90b923482179bf76dd1c74f3c1.1502854628.git.chunfeng.yun@mediatek.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/801910/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/801910/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xXJph4xvhz9sRg\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 16 Aug 2017 16:09:48 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752028AbdHPGJW (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 16 Aug 2017 02:09:22 -0400","from mailgw02.mediatek.com ([218.249.47.111]:46055 \"EHLO\n\tmailgw02.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751490AbdHPGIj (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 16 Aug 2017 02:08:39 -0400","from mtkcas36.mediatek.inc [(172.27.4.250)] by\n\tmailgw02.mediatek.com (envelope-from <chunfeng.yun@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 180331273; Wed, 16 Aug 2017 14:08:31 +0800","from mtkcas07.mediatek.inc (172.21.101.84) by\n\tMTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server\n\t(TLS) id 15.0.1210.3; Wed, 16 Aug 2017 14:08:29 +0800","from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc\n\t(172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via\n\tFrontend Transport; Wed, 16 Aug 2017 14:08:28 +0800"],"From":"Chunfeng Yun <chunfeng.yun@mediatek.com>","To":"Mathias Nyman <mathias.nyman@intel.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tFelipe Balbi <felipe.balbi@linux.intel.com>,\n\tRob Herring <robh+dt@kernel.org>","CC":"Matthias Brugger <matthias.bgg@gmail.com>,\n\tMark Rutland <mark.rutland@arm.com>,\n\tIan Campbell <ijc+devicetree@hellion.org.uk>,\n\tChunfeng Yun <chunfeng.yun@mediatek.com>,\n\t<linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,\n\t<linux-usb@vger.kernel.org>, <linux-mediatek@lists.infradead.org>,\n\t<devicetree@vger.kernel.org>","Subject":"[PATCH v2 4/4] dt-bindings: mt8173-xhci: add generic compatible and\n\trename file","Date":"Wed, 16 Aug 2017 14:08:13 +0800","Message-ID":"<1926a457a86a1d90b923482179bf76dd1c74f3c1.1502854628.git.chunfeng.yun@mediatek.com>","X-Mailer":"git-send-email 1.7.9.5","In-Reply-To":"<670f9ce1ecaec5859006b6f02b45cfc72c3cca2c.1502854628.git.chunfeng.yun@mediatek.com>","References":"<670f9ce1ecaec5859006b6f02b45cfc72c3cca2c.1502854628.git.chunfeng.yun@mediatek.com>","MIME-Version":"1.0","Content-Type":"text/plain","X-MTK":"N","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"The mt8173-xhci.txt actually holds the bindings for all mediatek\nSoCs with xHCI controller, so add a generic compatible and change\nthe name to mediatek,mtk-xhci.txt to reflect that.\n\nSigned-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>\n---\n .../usb/{mt8173-xhci.txt => mediatek,mtk-xhci.txt} |   14 +++++++++++---\n .../devicetree/bindings/usb/mediatek,mtu3.txt      |    2 +-\n 2 files changed, 12 insertions(+), 4 deletions(-)\n rename Documentation/devicetree/bindings/usb/{mt8173-xhci.txt => mediatek,mtk-xhci.txt} (85%)","diff":"diff --git a/Documentation/devicetree/bindings/usb/mt8173-xhci.txt b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt\nsimilarity index 85%\nrename from Documentation/devicetree/bindings/usb/mt8173-xhci.txt\nrename to Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt\nindex 0acfc8a..ff21135 100644\n--- a/Documentation/devicetree/bindings/usb/mt8173-xhci.txt\n+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt\n@@ -11,7 +11,11 @@ into two parts.\n ------------------------------------------------------------------------\n \n Required properties:\n- - compatible : should contain \"mediatek,mt8173-xhci\"\n+ - compatible : should be \"mediatek,soc-model-xhci\", \"mediatek,mtk-xhci\",\n+\tsoc-model is the name of SoC, such as mt8173, mt2712 etc, when using\n+\t\"mediatek,mtk-xhci\" compatible string, you need SoC specific ones in\n+\taddition, one of:\n+\t- \"mediatek,mt8173-xhci\"\n  - reg : specifies physical base address and size of the registers\n  - reg-names: should be \"mac\" for xHCI MAC and \"ippc\" for IP port control\n  - interrupts : interrupt used by the controller\n@@ -68,10 +72,14 @@ usb30: usb@11270000 {\n \n In the case, xhci is added as subnode to mtu3. An example and the DT binding\n details of mtu3 can be found in:\n-Documentation/devicetree/bindings/usb/mt8173-mtu3.txt\n+Documentation/devicetree/bindings/usb/mediatek,mtu3.txt\n \n Required properties:\n- - compatible : should contain \"mediatek,mt8173-xhci\"\n+ - compatible : should be \"mediatek,soc-model-xhci\", \"mediatek,mtk-xhci\",\n+\tsoc-model is the name of SoC, such as mt8173, mt2712 etc, when using\n+\t\"mediatek,mtk-xhci\" compatible string, you need SoC specific ones in\n+\taddition, one of:\n+\t- \"mediatek,mt8173-xhci\"\n  - reg : specifies physical base address and size of the registers\n  - reg-names: should be \"mac\" for xHCI MAC\n  - interrupts : interrupt used by the host controller\ndiff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt\nindex 545251e..722a029 100644\n--- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt\n+++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt\n@@ -48,7 +48,7 @@ Optional properties:\n Sub-nodes:\n The xhci should be added as subnode to mtu3 as shown in the following example\n if host mode is enabled. The DT binding details of xhci can be found in:\n-Documentation/devicetree/bindings/usb/mt8173-xhci.txt\n+Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt\n \n Example:\n ssusb: usb@11271000 {\n","prefixes":["v2","4/4"]}