From patchwork Mon Sep 13 19:28:08 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: 509830 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp851146jao; Mon, 13 Sep 2021 12:28:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxdBtcMzJ7e0ue3Zs0/f2qXzHco5FnBZXS3uMEcG34Te5zt7rlpkBsxTkadFouHyyw49+X X-Received: by 2002:a5d:8b17:: with SMTP id k23mr10504846ion.17.1631561299598; Mon, 13 Sep 2021 12:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631561299; cv=none; d=google.com; s=arc-20160816; b=SeCPm9fBZA1pZseDRZRXFO+07H/chI87FPM+DfOsB0yMi4ShmWbcIeRRJ9W2d2A9kO A4S2vZOYvLrr9mh3wFFvmW1MXYvUmYe969lE0CQN1w4eT0A6AS1Zx8adZ6AxdLuchlr/ bDIJXfgay6QABHrXfwszQVmGwh+wNDIg1eMleor8JnaVIK9JfOHUPkuZjXSTZySUcTLP qDeDun1PRBHGTm3ZQQeHsTOaWEtaXjgsH/sT1b7dgmCIUVu1rz1gVdI2eLqDF+/teXva vWumfjyEzvIC84WfSIfZ+t40q85W8U0nGxi6W4MZsMbeONQRmvME4i1e/Te032C8ihfF owag== 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=g+Q2qhVPQ7t2dWkHiAQZbqwf5gFYdZacySJXFNnEnrg=; b=Vx04TQ+xss3Ikb50XwA58pLhDnpbfwoRBDLlsKMQR8YGMLcoPM1QEoroGjX47F36UE CS0jYDrlE6S2r2xJAq53XTBw++sWgKi5DoKwoAG0igK1+sqQufT5nPgImA54KnmHCREy Li24T9SqqzdTP9YD94JOjBH75qMijhw6X36mXBpn5Kx4rcq1y95AS/j4dy3qpmWnPqba dFZeqNkXhuLqqWepy6ViY559YmEjauYFLN/jIV/dUHDCBhtJgZkLyw8UG9AzUxpVNi7W kBQg0yduA4LRbos0fsUN43cf/EM9cCNXbznJnlz2o+a5CG7Z5xExRAVvjX2dE4+U4Ro8 A6EQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 l19si6728989ilc.102.2021.09.13.12.28.19 for ; Mon, 13 Sep 2021 12:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S242263AbhIMT3f (ORCPT ); Mon, 13 Sep 2021 15:29:35 -0400 Received: from mail-ot1-f54.google.com ([209.85.210.54]:40686 "EHLO mail-ot1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241848AbhIMT3e (ORCPT ); Mon, 13 Sep 2021 15:29:34 -0400 Received: by mail-ot1-f54.google.com with SMTP id l16-20020a9d6a90000000b0053b71f7dc83so14871688otq.7; Mon, 13 Sep 2021 12:28:18 -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=g+Q2qhVPQ7t2dWkHiAQZbqwf5gFYdZacySJXFNnEnrg=; b=hgcU/39cL8nasIheHfvohl3WR5g0ZzrhE3GpyQgX3ixzyp7u1uyQtnmPxdFpCtGjro DbpYcyPDQGVULJFJ1xlSvsY9Bv46Gffp9LNncaq4kKqC7p88R3iYQ/1Mb2kmbhk4RApo /Cfy0EXsweiIkPEZvaomujgVxgoi+ZCGNUt7TG7EuGh5zgc5gKiLrXMxyvLXhi4YJrpk hNunzb14Vi+6vMJ8JJxrxBNFyn0S4PzwD5Plpt/8wZzLzrOvtHPo34/fxfQubS0Nj8ZX 0mQVbQP8Vp4nSL4dLdRZAFD2sa83+PunJZvwgazxcaZ4WdjT8ydnmOs1Ey++kffol4KQ hhAQ== X-Gm-Message-State: AOAM531OQkTpb4hlNuQY5R9VYtA10GeCLL5sLC6gbPhW6EwA8AmxPctB IePf6Hf3/hKEaOZJy1pUOw== X-Received: by 2002:a05:6830:31a5:: with SMTP id q5mr11038625ots.253.1631561298042; Mon, 13 Sep 2021 12:28:18 -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 m24sm1907838oie.50.2021.09.13.12.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 12:28:17 -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 v2 0/8] Arm boards syscon 'unit_address_format' clean-ups Date: Mon, 13 Sep 2021 14:28:08 -0500 Message-Id: <20210913192816.1225025-1-robh@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@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 | 95 +++++++++++++++++++ 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, 316 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 Acked-by: Nick Desaulniers Reviewed-by: Stephen Boyd