From patchwork Tue Dec 8 12:46:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 339737 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3663444jai; Tue, 8 Dec 2020 04:52:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXHn9FtwpGXiTmYKpXLpTNrcCiYspOVL2/8VC/KhEH5cj0MrHoTmQP1bZtrBQrT57WVQtZ X-Received: by 2002:a05:6402:46:: with SMTP id f6mr10272355edu.163.1607431974739; Tue, 08 Dec 2020 04:52:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607431974; cv=none; d=google.com; s=arc-20160816; b=LL4zH3hnyfzQ3vgW1Sr7sLUqTaoC7lx1kT5VOxYdCIqRYADnCNcTeCfQd3jLDgs6Qa eVQ8hcySdl9YmBnjNFTocZ755Pq1WVfrhP8Veh+nqrnvW+uQ2TyLoExZp1SmiL1Cf9NJ x0+GWwZm8fRUFskZ7JiH73ZJwYU0E4EhvgoOOeXC5VIR3FngrvSq/Dh24K05ChfOyCER 9TY0Nj7MxH0d+PPC5zXjqIJuAk+m0HgQt3vkp/jVHL8rFso1hBo229zna1JSoMeN8NX/ jVu6AGfy1M6zWSRRtoYV+YJGP/g/JwVILuangqXMLUA3PkDDx6wvBO381XE/gcnB0ldp PRQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aAWc8uovLJ+Z9RUdksocm9XCmFrfJdmOYBDP4yqdLAw=; b=ZlCN8kzfgkr2x074WeD6pdUZMRr1JXg+uDBmrvoyVsnpN2r1r11yeEaTCl//e6cbpH 1e/fHcogAsW7eBGlZ0ised+Q/hVX4w7Vh0YCjX88zatEHBvmBkZFO74WENrw9/nDw1xe oxw9o+zVsgdmntk7N028kNbjJwkzw4/WHIyAOc6oD6Penhfenw5CbFeAdxSTLVJ3199u jGLu5nd8hlMIxYiqVU/dFsWyVoQNxTrrNU032fR2t0peSbn5fum6bYtTiUMZjkg4rlXn tX7FwahJZ6HJ9M46Gp2cvK8NnjH2LOnZXPQjbAvXir7/Ls0CHKBXFa4zO+RrRGJSUmCt hnzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si10059482edr.583.2020.12.08.04.52.54; Tue, 08 Dec 2020 04:52:54 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729372AbgLHMvh (ORCPT + 6 others); Tue, 8 Dec 2020 07:51:37 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9129 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729266AbgLHMvg (ORCPT ); Tue, 8 Dec 2020 07:51:36 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Cr0QD05fpz15YQC; Tue, 8 Dec 2020 20:50:12 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.9) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Dec 2020 20:50:32 +0800 From: Zhen Lei To: Philipp Zabel , Wei Xu , "Rob Herring" , linux-arm-kernel , devicetree , linux-kernel CC: Zhen Lei , Zhangfei Gao , Chen Feng , "Manivannan Sadhasivam" Subject: [PATCH v3 0/4] dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema Date: Tue, 8 Dec 2020 20:46:37 +0800 Message-ID: <20201208124641.1787-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v2 --> v3: 1. Keep device tree patches and reset driver patch separate, as they were in v1. That is, revert v2. 2. When the new compatible match failed, fall back to the deprecated compatible. 3. Fix a typo, correct "hi3660,rst-syscon" to "hisilicon,rst-syscon". v1 --> v2: Merge the driver and DT modification(correct vendor prefix hisi to hisilicon) into one patch. v1: Patch 1-3 change the vendor prefix from "hisi" to "hisilicon", to eliminate below warnings: crg_rst_controller: 'hisi,rst-syscon' does not match any of the regexes: '^#.*', ... , '^hisilicon,.*', ... From schema: /root/leizhen/linux-next/Documentation/devicetree/bindings/vendor-prefixes.yaml Patch 4 does the json-schema conversion. Zhen Lei (4): reset: hisilicon: correct vendor prefix arm64: dts: correct vendor prefix hisi to hisilicon dt-bindings: reset: correct vendor prefix hisi to hisilicon dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema .../bindings/reset/hisilicon,hi3660-reset.txt | 44 ------------- .../bindings/reset/hisilicon,hi3660-reset.yaml | 77 ++++++++++++++++++++++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 4 +- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 2 +- drivers/reset/hisilicon/reset-hi3660.c | 9 ++- 5 files changed, 87 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt create mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml -- 1.8.3