Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4627707rwl; Mon, 3 Apr 2023 07:34:15 -0700 (PDT) X-Google-Smtp-Source: AKy350YHFWvDHVKpjNk/aaPgBs/BEOJRuO1fUd7ulB4X0f7iWxvb2Ipj2u7qDw2LsZvnDw9HsV2x X-Received: by 2002:a17:907:75f2:b0:88a:1ea9:a5ea with SMTP id jz18-20020a17090775f200b0088a1ea9a5eamr32625764ejc.65.1680532455260; Mon, 03 Apr 2023 07:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680532455; cv=none; d=google.com; s=arc-20160816; b=TTQK/RbMp0Q8OGf7x3z8HfGYwzrLKH6Np7jcgua/oKElHjk8roEcYhoXHzthxyAoaL E5ZI3LwGpVLHIVeicMKJtRP92Q3jXO/cm//UNQ0BWwsUr/o3Oyty7B2qmvkw/LOBv3tk zXAdSrK530vGn7ojHjB23nEHWbvIMvcFEbs+COz2vr5KoYImn9HCqdRDrxfEgolM768T X4DAp7VrDyRZf5EmRQk++PucbiuQt2PR0mDmuyC0eGJBR/+11j91h4/VNHV2V7VKRhVg Y/4OJC5Pcupbd8stg7ygIGXp70e4UKMz9jIungdH5wHb/r/ciPHErBYlNiSFksFuaMec o3vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=kgxgujHV7ZwMD+EJ2tr48ZFnDYr/sfE01G2QMbLxp3E=; b=LdNiGqnteXBMo6yZgN7KNP9TBKnhIRl+lKKQDQjMyQtxKN6HQgDe/ggtiCF/dhDXJa X5dS9VzowOjhxrGcksdpJGVONkY5zwJ13A3ai041r671bNEf7fWkV/sBfmDMeurmYQip GRYnWGXdqrhNCfAuYq2i1coQ2PjHFJKvDGtfYVSh5YSqMZwk+9jQFcb2R/7fgOzE5QYN qkIWXLHlidQpKNxguFpAvyySqDza/T2enj9Vy6E+HxzDamDNe1dLawikSGlpTSA/eWUU AmODiHDE3JZWuOzRvGdpPI53n23TzX3kjNhMPnYotmVH8syiz3s6KJD2NHUlYKXFWy10 HPnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=liYpJVhX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020aa7d609000000b004fc24481138si7302847edr.340.2023.04.03.07.33.24; Mon, 03 Apr 2023 07:34:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=liYpJVhX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233542AbjDCOcs (ORCPT + 99 others); Mon, 3 Apr 2023 10:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233513AbjDCOcq (ORCPT ); Mon, 3 Apr 2023 10:32:46 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7B6CE55; Mon, 3 Apr 2023 07:32:40 -0700 (PDT) Received: from [192.168.1.90] (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id BBD9B6603105; Mon, 3 Apr 2023 15:32:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680532359; bh=1+OmtAU+X5ofND6+HKtIRQa4thdWvYXhzR1UpKwsmAw=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=liYpJVhXmyjhlDv/Y1XYxp/UX64teQeHTO9Gd0cJEY9Nz4Tk6L3tqoH6NBrb1O+nf CYTgCZrj+BtbzkcMEYCzgQKnDQebi2aZH2FwJkQav9PxmpP8KqMU9ruKrY41pQHpIw M23vaSHAzGEMxkhSeDmMtIaKwua4OFctdCVQtP3gPoMhAOcymu3arJVDiCMCMfPmQZ nGCZO1E2v2TSQRFpGOSjucwF11JCKGaqoxmOKGu5m1VTi/eI55ySNpOdNNGlgLFt6p hoerbHx+M7r1x9WziipAcedknNvKxPOdiVvbM7yRyeM3plnQrBWQLzpU9jmZxFSRh4 waWBQk8nFWUmA== Message-ID: Date: Mon, 3 Apr 2023 17:32:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: Cristian Ciocaltea Subject: Re: [PATCH 1/2] dt-bindings: hwmon: pwm-fan: Convert to DT schema To: Rob Herring Cc: kernel@collabora.com, linux-arm-kernel@lists.infradead.org, Rob Herring , linux-hwmon@vger.kernel.org, Guenter Roeck , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Jean Delvare , Heiko Stuebner , linux-kernel@vger.kernel.org, Krzysztof Kozlowski References: <20230403105052.426135-1-cristian.ciocaltea@collabora.com> <20230403105052.426135-2-cristian.ciocaltea@collabora.com> <168052514639.463695.9544022277060710805.robh@kernel.org> Content-Language: en-US In-Reply-To: <168052514639.463695.9544022277060710805.robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/3/23 16:10, Rob Herring wrote: > > On Mon, 03 Apr 2023 13:50:51 +0300, Cristian Ciocaltea wrote: >> Convert the PWM fan bindings to DT schema format. >> >> Signed-off-by: Cristian Ciocaltea >> --- >> .../devicetree/bindings/hwmon/pwm-fan.txt | 68 +---------- >> .../devicetree/bindings/hwmon/pwm-fan.yaml | 109 ++++++++++++++++++ >> 2 files changed, 110 insertions(+), 67 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/hwmon/pwm-fan.yaml >> > > Running 'make dtbs_check' with the schema in this patch gives the > following warnings. Consider if they are expected or the schema is > incorrect. These may not be new warnings. > > Note that it is not yet a requirement to have 0 warnings for dtbs_check. > This will change in the future. > > Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230403105052.426135-2-cristian.ciocaltea@collabora.com > > > pwm-fan: 'cooling-max-state', 'cooling-min-state' do not match any of the regexes: 'pinctrl-[0-9]+' > arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dtb > arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dtb > The only references to the offending cooling-{min|max}-state are located in a few DTS files. Assuming they are obsolete, may I simply drop them? $ git grep "cooling-.*-state" arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi: cooling-min-state = <0>; arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi: cooling-max-state = <3>; arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts: cooling-min-state = <0>; arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts: cooling-max-state = <3>; arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts: cooling-min-state = <0>; arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts: cooling-max-state = <3>; arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi: cooling-min-state = <0>; arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi: cooling-max-state = <9>;