{"id":807009,"url":"http://patchwork.ozlabs.org/api/1.2/patches/807009/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/b76451ae02d409f2faa6b5ffd143d8bef7db5b6b.1503998338.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":"<b76451ae02d409f2faa6b5ffd143d8bef7db5b6b.1503998338.git.chunfeng.yun@mediatek.com>","list_archive_url":null,"date":"2017-08-29T09:20:42","name":"[RESEND,v2,2/3] dt-bindings: mt8173-xhci: add generic compatible and rename file","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"e331c14bb019479abc3842bbd3a2a667747b2f07","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/b76451ae02d409f2faa6b5ffd143d8bef7db5b6b.1503998338.git.chunfeng.yun@mediatek.com/mbox/","series":[{"id":332,"url":"http://patchwork.ozlabs.org/api/1.2/series/332/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=332","date":"2017-08-29T09:20:43","name":null,"version":2,"mbox":"http://patchwork.ozlabs.org/series/332/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807009/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807009/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 3xhNSD39tSz9t33\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 19:21:48 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752016AbdH2JVd (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tTue, 29 Aug 2017 05:21:33 -0400","from mailgw01.mediatek.com ([218.249.47.110]:43502 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751691AbdH2JVE (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Tue, 29 Aug 2017 05:21:04 -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 838304159; Tue, 29 Aug 2017 17:20:58 +0800","from mtkcas08.mediatek.inc (172.21.101.126) by\n\tMTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server\n\t(TLS) id 15.0.1210.3; Tue, 29 Aug 2017 17:20:57 +0800","from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc\n\t(172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via\n\tFrontend Transport; Tue, 29 Aug 2017 17:20:56 +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 RESEND v2 2/3] dt-bindings: mt8173-xhci: add generic\n\tcompatible and rename file","Date":"Tue, 29 Aug 2017 17:20:42 +0800","Message-ID":"<b76451ae02d409f2faa6b5ffd143d8bef7db5b6b.1503998338.git.chunfeng.yun@mediatek.com>","X-Mailer":"git-send-email 1.7.9.5","In-Reply-To":"<33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1503998338.git.chunfeng.yun@mediatek.com>","References":"<33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1503998338.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..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/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":["RESEND","v2","2/3"]}