Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1232302pxa; Fri, 28 Aug 2020 07:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbFmgUX3eTCaNGQCKmc8sT/K/dBwIvix6Po3o3Y2NWF2WDwiUiAaP3Lf4SZTwqysTW7af0 X-Received: by 2002:a17:906:2717:: with SMTP id z23mr2097288ejc.19.1598624500178; Fri, 28 Aug 2020 07:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598624500; cv=none; d=google.com; s=arc-20160816; b=B0tKXax5d415Us44ZZ0EWja0dD920ET8LHo4hNbpkO/PpG5FYxhHMs2EhsShZ3wmB+ FRkGRHqRiDkB4xyhiifaYyDWlFTJezQ2jiJgfuRA8kg5m0Yuge6LIyXLvxXzAqt7O2dK rBONe2MCD6BUULjfLMZAvTTNMDa7Ygwlkq7MHfP6yhdsATM5SmaChZtxV45IVKRmIDOs QXl+yYPdT/kytq01YQ3WMq0VhzMJazB0fDkHlfox1vtVPkpGmZDk91sHuV6peQBhr8QR 2W4+EXEaTOEglRSxt+d+jamfiH98WccaFg+8hJnagGNlAAczYfbBK4k+MNb1XS4EEUJA BdGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=H09aqRMU4zlNqK3MvpSExwzR3yXmyi68hkH3BhC7zpM=; b=R0Ey9rDV7fvpxuF2pIZ3YgpqLaDyU460moSRpHFQTYrwZUR1504FcsimkdhwJjhQ8w JzI3h95xRBF+nuxEFLFDu06lnIt0CEsAsknl4gcJKQSIeVcX7th6UxbTdNgnt7l6RFgE 2LzL+APcwN/rHPx3SUI65WJ3NAVMjQav/0vBjvyAJSZ/tzVmukhXzSn/wVfhS7PbIA9V mr2UHJHnr0NKVD3Mi/RriATP/QnuH6aKak0cT2w9C5GajVJUQLrEdQlNM0Cb49bDWlVv NjWdG7hhfAgpF6vVO7K98+MV0X1OPKbHQ2fhkoi8lU01AfVjdlO4AVmB+RV40NTmMCqg 9ZYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 cy23si710074edb.311.2020.08.28.07.21.17; Fri, 28 Aug 2020 07:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbgH1OUb (ORCPT + 99 others); Fri, 28 Aug 2020 10:20:31 -0400 Received: from foss.arm.com ([217.140.110.172]:50328 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbgH1OU3 (ORCPT ); Fri, 28 Aug 2020 10:20:29 -0400 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 Cc: Thomas Gleixner , Daniel Lezcano , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chanho Min , Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Sudeep Holla , Ray Jui , Scott Branden , Florian Fainelli , Wei Xu 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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