{"id":807600,"url":"http://patchwork.ozlabs.org/api/patches/807600/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/0ef0bfd4f2544e57c7bdaea518c3fc75ae40b74f.1504092763.git.chunfeng.yun@mediatek.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/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":"<0ef0bfd4f2544e57c7bdaea518c3fc75ae40b74f.1504092763.git.chunfeng.yun@mediatek.com>","list_archive_url":null,"date":"2017-08-30T11:34:10","name":"[v3,2/3] dt-bindings: mt8173-xhci: add generic compatible and rename file","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"8ee54de88c2d733091419f1eebdf8ff3254d5c4b","submitter":{"id":66488,"url":"http://patchwork.ozlabs.org/api/people/66488/?format=json","name":"Chunfeng Yun","email":"chunfeng.yun@mediatek.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/0ef0bfd4f2544e57c7bdaea518c3fc75ae40b74f.1504092763.git.chunfeng.yun@mediatek.com/mbox/","series":[{"id":594,"url":"http://patchwork.ozlabs.org/api/series/594/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=594","date":"2017-08-30T11:34:11","name":null,"version":3,"mbox":"http://patchwork.ozlabs.org/series/594/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807600/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807600/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 3xj3ML1k8Pz9t1t\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 21:34:54 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751415AbdH3LeY (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 30 Aug 2017 07:34:24 -0400","from mailgw01.mediatek.com ([218.249.47.110]:44570 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751282AbdH3LeW (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 30 Aug 2017 07:34:22 -0400","from mtkcas36.mediatek.inc [(172.27.4.250)] by\n\tmailgw01.mediatek.com (envelope-from <chunfeng.yun@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 1320533922; Wed, 30 Aug 2017 19:34:17 +0800","from mtkcas07.mediatek.inc (172.21.101.84) by\n\tMTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server\n\t(TLS) id 15.0.1210.3; Wed, 30 Aug 2017 19:34:15 +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, 30 Aug 2017 19:34:14 +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 v3 2/3] dt-bindings: mt8173-xhci: add generic compatible and\n\trename file","Date":"Wed, 30 Aug 2017 19:34:10 +0800","Message-ID":"<0ef0bfd4f2544e57c7bdaea518c3fc75ae40b74f.1504092763.git.chunfeng.yun@mediatek.com>","X-Mailer":"git-send-email 1.7.9.5","In-Reply-To":"<33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1504092763.git.chunfeng.yun@mediatek.com>","References":"<33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1504092763.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/mt8173-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..5611a2e 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/mt8173-mtu3.txt b/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt\nindex 1d7c3bc..b8ea394 100644\n--- a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt\n+++ b/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt\n@@ -44,7 +44,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":["v3","2/3"]}