From patchwork Thu Sep 9 21:31:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 508362 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp701571jai; Thu, 9 Sep 2021 14:31:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpczjU8yxsUp21u54B2Hw5wVuo1By2TDx398yXcLSzBt4+hoLeq+SAz7VYB8aJ5E8Z5NBK X-Received: by 2002:a17:906:2bc3:: with SMTP id n3mr5487191ejg.548.1631223085584; Thu, 09 Sep 2021 14:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631223085; cv=none; d=google.com; s=arc-20160816; b=bApqpDPdKfeL23FvWIsBVQcwAmnFD/6/l8/ePSOVXCrFPy9HCN0G14KO180DGpxdLD WzJJkIlQNmCg2nUHh74wdmdxX5glNGfyXxKKL/LKVLOU9+agb3vpWhUXRhnNX6R4FKa0 G69YAU+gnqzVR6TVlBAhVuRGNPimcQV7f+8IT/lqP303Ck5G4+WoLETaJ/7xAbgB5A1H 5JE1wPVaFmvKzZM2snUZurS5M9rtfFq4r9vubi61PHy7H81wSJvc7nsi6k93LnA+lQSZ IhOx/R5uSBsH4QOcHXGJMCj7zrmB/sbquZZMOaMIFJwQ0PHSMc9H2oFLiAiS/guhw5pu Wsuw== 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=YvfLm3m8ccgAXfP1TlOkQLhdLxi0Xdr9HpUpgFIvUqY=; b=1CsBvsnKNL8EFysxXV9FqrPnzoTVRg8ily/UZiJvfs14cokXyg/fYXHxq8lCPmf+m1 MUSvDAEu8rmcqlc4ZAmPnHJQo46JoGSFHS7RbbKa9GIJN2/nLFJelS6a7npr+fNIWyuC l+SGIgNol3S8atlGxIWSoNqbIIAkNdEffyObdGMtn1FXpO8RXmCUy6U6/lbAmrqAmEhH SBUhOw9s0ZQTb8nF1YYj6CoXr1xOJNq68ZUw0kJ1BmKSe9qhZavasz12bIT4el681aEc SHlFREWK2qyz0LBYS6xmylgQe2WrOWX4/c7be2/nH4gna9m+HFAVz/HXl3y5Y5rJpxLW vdGg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e29si3040625ejl.212.2021.09.09.14.31.25; Thu, 09 Sep 2021 14:31:25 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346884AbhIIVcb (ORCPT + 6 others); Thu, 9 Sep 2021 17:32:31 -0400 Received: from mail-oi1-f170.google.com ([209.85.167.170]:37732 "EHLO mail-oi1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345556AbhIIVca (ORCPT ); Thu, 9 Sep 2021 17:32:30 -0400 Received: by mail-oi1-f170.google.com with SMTP id y128so4456049oie.4; Thu, 09 Sep 2021 14:31:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YvfLm3m8ccgAXfP1TlOkQLhdLxi0Xdr9HpUpgFIvUqY=; b=vHvhL9ADhsle151HTbTV65/xvinjYRvlifZ4/XD9XkFV8FHJ31ZlBsjvEHXwIrQtBg d7B1cJOZ7vgWGl8zXhUkPX9MhkqhQTahkLTDxxPRly41zWAEoNOtWmQUAhhDtab/bR6l UJBod6cbOsVbrsByohJDW8Zt+5Ub9AxtfRvXBSJt0kE9cvwXu0xw1M287BUDOdR2P7EB ElW5C40osN9Xa+E/OyPzoNmF+hGgkp4H5bqBNBft9fd0gZaRKBPnO7Ry2Y5bzsIg1Ie4 2lYvfmL8kvWGpcHY9NhCDyuN3GX77z9uXyUXJnHobmdighsKBBBZo/fqhXGIJ41tZBSQ 7PGg== X-Gm-Message-State: AOAM532ArqP7/I87npxaCiBbvwG4rqW3g3OBkgEVrO3WeKeCnZzQhore G4qnLBSSStCm9JZgeb1irhvT/22yHw== X-Received: by 2002:a05:6808:13d3:: with SMTP id d19mr1564246oiw.178.1631223080501; Thu, 09 Sep 2021 14:31:20 -0700 (PDT) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id m24sm694929oie.50.2021.09.09.14.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 14:31:19 -0700 (PDT) From: Rob Herring To: Linus Walleij , Stephen Boyd , Pavel Machek Cc: Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH 0/8] Arm boards syscon 'unit_address_format' clean-ups Date: Thu, 9 Sep 2021 16:31:10 -0500 Message-Id: <20210909213118.1087083-1-robh@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series addresses the last of the dtc 'unit_address_format' warnings in the tree. The remaining issue was dealing with the node names on 2 bindings for Arm Ltd boards syscon child nodes: register-bit-led and Versatile ICST. Both of these used an offset property for register address rather than 'reg' which is the preference nowadays. With a 'reg' property, then we can have a proper node name and unit-address. This series adds support for using 'reg' instead and updates the node names and unit-addresses. The dts file changes have inter-dependencies, but the clock and led changes can go via each subsystem. Rob Rob Herring (8): dt-bindings: leds: Convert register-bit-led binding to DT schema dt-bindings: leds: register-bit-led: Use 'reg' instead of 'offset' leds: syscon: Support 'reg' in addition to 'offset' for register address dt-bindings: clock: arm,syscon-icst: Use 'reg' instead of 'vco-offset' for VCO register address clk: versatile: clk-icst: Support 'reg' in addition to 'vco-offset' for register address ARM: dts: arm: Update register-bit-led nodes 'reg' and node names ARM: dts: arm: Update ICST clock nodes 'reg' and node names kbuild: Enable dtc 'unit_address_format' warning by default .../bindings/clock/arm,syscon-icst.yaml | 5 + .../bindings/leds/register-bit-led.txt | 94 ------------------ .../bindings/leds/register-bit-led.yaml | 97 +++++++++++++++++++ arch/arm/boot/dts/arm-realview-eb.dtsi | 42 +++++--- arch/arm/boot/dts/arm-realview-pb1176.dts | 42 +++++--- arch/arm/boot/dts/arm-realview-pb11mp.dts | 48 ++++++--- arch/arm/boot/dts/arm-realview-pbx.dtsi | 42 +++++--- arch/arm/boot/dts/integrator.dtsi | 23 +++-- arch/arm/boot/dts/integratorap-im-pd1.dts | 9 +- arch/arm/boot/dts/integratorap.dts | 15 ++- arch/arm/boot/dts/integratorcp.dts | 9 +- arch/arm/boot/dts/mps2.dtsi | 10 +- arch/arm/boot/dts/versatile-ab-ib2.dts | 6 +- arch/arm/boot/dts/versatile-ab.dts | 27 ++++-- arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 27 ++++-- drivers/clk/versatile/clk-icst.c | 3 +- drivers/leds/leds-syscon.c | 3 +- scripts/Makefile.lib | 1 - 18 files changed, 318 insertions(+), 185 deletions(-) delete mode 100644 Documentation/devicetree/bindings/leds/register-bit-led.txt create mode 100644 Documentation/devicetree/bindings/leds/register-bit-led.yaml -- 2.30.2