From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63801C433E6 for ; Fri, 28 Aug 2020 14:21:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EAEE2054F for ; Fri, 28 Aug 2020 14:21:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Sh4Jz4Dw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EAEE2054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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:In-Reply-To:References:List-Owner; bh=NMDDeMNsyVJYuFIVTeJaULpReDmpLpgQKRXaVpa2K2E=; b=Sh4Jz4Dwfu5Bf+z9/uqtH76pHH mLl2+uWfZ/mcNdEcJ/IOTwHjhh9g4tGc3jJvHjIO80WKtQ31qDBIOYCj3EkLatcjKzVpnHLX97lwl OZVGk4qb4AptDQm72PoStbYtevfSKTxcgLqFaOcVjOgLs5pS0Bt07wd6UWWwYuzQvpLaWlmn5gM9x a7xzqUlpAGmdlIAKF6jpd5euljnQl3vQz3HNKTo0Xd6E6gRNH53Cg8P7C1HUrILBreK1yo9s/uLZw ci4PCyG1ZaWmxKXnXrBsMV3/8MOQcI7269Hv5joOp8wtYA87Y/+ugWEkQCKvLXpPWs1Z/hDN7VfsZ yqJpS4eQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBfF4-0007BD-0z; Fri, 28 Aug 2020 14:20:34 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBfF1-0007A5-Ih for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2020 14:20:32 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4400E1FB; Fri, 28 Aug 2020 07:20:28 -0700 (PDT) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.195.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E0F33F71F; Fri, 28 Aug 2020 07:20:26 -0700 (PDT) From: Andre Przywara To: Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users) Date: Fri, 28 Aug 2020 15:20:12 +0100 Message-Id: <20200828142018.43298-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_102031_724779_87EF49D3 X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Scott Branden , Ray Jui , Chanho Min , Daniel Lezcano , Liviu Dudau , linux-kernel@vger.kernel.org, Wei Xu , Florian Fainelli , Haojian Zhuang , Sudeep Holla , Thomas Gleixner , Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is the second attempt at converting the SP804 timer binding to yaml. Compared to v1, I forbid additional properties, and included the primecell binding. Also the clock-names property is now listed, although without further requirements on the names. Changelog below. -------------- The yaml conversion is done in the first patch, the remaining five fix some DT users. I couldn't test any of those DT files on actual machines, but tried to make the changes in a way that would be transparent to at least the Linux driver. The only other SP804 DT user I could find is FreeBSD, but they seem to use a different binding (no clocks, but a clock-frequency property). Cheers, Andre Changelog v1 .. v2: - Add additional-properties: false - Allow clock-names property - Include primecell binding - Fix subject on Broadcom patch - Add Florian's Tested-by: on Broadcom patch - Add Linus' Acked-by: on Arm patch Andre Przywara (6): dt-bindings: timers: sp-804: Convert to json-schema ARM: dts: arm: Fix SP804 users ARM: dts: NSP: Fix SP804 compatible node ARM: dts: hisilicon: Fix SP804 users ARM: dts: nspire: Fix SP804 users arm64: dts: lg: Fix SP804 users .../devicetree/bindings/timer/arm,sp804.txt | 29 ------ .../devicetree/bindings/timer/arm,sp804.yaml | 93 +++++++++++++++++++ arch/arm/boot/dts/arm-realview-pb11mp.dts | 16 ++-- arch/arm/boot/dts/bcm-nsp.dtsi | 2 +- arch/arm/boot/dts/hi3620.dtsi | 30 ++++-- arch/arm/boot/dts/hip04.dtsi | 4 +- arch/arm/boot/dts/mps2.dtsi | 6 +- arch/arm/boot/dts/nspire.dtsi | 12 ++- arch/arm/boot/dts/vexpress-v2p-ca9.dts | 4 +- arch/arm64/boot/dts/lg/lg1312.dtsi | 6 +- arch/arm64/boot/dts/lg/lg1313.dtsi | 6 +- 11 files changed, 144 insertions(+), 64 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/arm,sp804.txt create mode 100644 Documentation/devicetree/bindings/timer/arm,sp804.yaml -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel