From patchwork Tue Jul 19 20:50:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 591735 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5C70CCA47F for ; Tue, 19 Jul 2022 20:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240314AbiGSUv1 (ORCPT ); Tue, 19 Jul 2022 16:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240320AbiGSUvV (ORCPT ); Tue, 19 Jul 2022 16:51:21 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38CFD5E33F for ; Tue, 19 Jul 2022 13:51:09 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id q43-20020a17090a17ae00b001f1f67e053cso130279pja.4 for ; Tue, 19 Jul 2022 13:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NFO34Yz57LgTCHi3tidORCIHqJkFKgK7dJO812laZw0=; b=GBrCgtLw5cutr/Q4x/ZLLIFTpVxODuomXLyjI6/YeIal2HEgr2yghDY2JFY/55I0DE iRv1N1sIRduGCWtRgHG3pSRMgZhYX/PAHZrA8nKeT0LM5xDsF7lhOa4pmwiE325IeqA1 fVQfKmw6kmcsADF3wG1p46bKygR9OaLaj009NtDwMFFiMkdkfXUzQAJIwbWOUv77aaGt hwr/+tEagUv9SDqHhgal3VXRSsuak+srSaimoainmIuGqT8nRJII08RCfC7WUm6LviuE ouJIdZ2j1015fQfCfnVX8iYDoPjtGbqOIufgeRWGUD1ZGKzitPbVwoCK1PmpQoVfTLPt WFfA== 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=NFO34Yz57LgTCHi3tidORCIHqJkFKgK7dJO812laZw0=; b=B7paQgnsSAWJMDdjy3uLiq/lb5T/fot5iMlzgHZQjo1mMWFrA9NXKzjbsA27FsobGs Nm/GdHyYdQJ5RplaFiSxGVENihgJ9q2BpxZSIri+ev0w6HsHZQ+J9kmCE+k84a/Px8Tw k9x3HUt1qIZLLhhECeKPHlNbwUPmleDTr3NtLNHVM6CsqqKAUlGrsRz3n8LTDRX3wonB I7+BNb3kN62GQR8nm1uc0pMNw37XO3ZHDw7tDh7FY4u38uh/oVGaOxsM38quZp/77q6i j79NHBLXSB208/Vzowa3WC10u6cRuOQWwN2nxGapwHR85jRqYpQ5Z/DUaB5JP1FEdM7G Rx0w== X-Gm-Message-State: AJIora+KtTuyCzXxlJqVxaYwndQOXyo6LlM0OMyrKg/F1lJ9nspWRycy tKsJsna0rVYT8HaElMIwISQ1PQ== X-Google-Smtp-Source: AGRyM1vq6J6IWKe9INRqVjVpfg3k6LLaM5xMIUGm6hePJMhersOoDvxR80OvktD5IwEdR3oGrl2wZQ== X-Received: by 2002:a17:90a:7889:b0:1f1:82ea:fb31 with SMTP id x9-20020a17090a788900b001f182eafb31mr1333372pjk.153.1658263868444; Tue, 19 Jul 2022 13:51:08 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:709e:6fec:df37:6562:5a80]) by smtp.gmail.com with ESMTPSA id n1-20020a622701000000b00525496442ccsm11929173pfn.216.2022.07.19.13.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 13:51:07 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, robh@kernel.org, linux-leds@vger.kernel.org, pavel@ucw.cz, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org Subject: [PATCH 1/3] arm64: dts: qcom: Fix 'dtbs_check' errors for pm8350c & sc8280xp pwm nodes Date: Wed, 20 Jul 2022 02:20:56 +0530 Message-Id: <20220719205058.1004942-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org make dtbs_check currently reports the following errors with pm8350c & sc8280xp pwm nodes: arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r1.dtb: pwm@e800: 'reg' does not match any of the regexes: '^led@[0-9a-f]$', 'pinctrl-[0-9]+' Fix the same. Cc: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/pm8350c.dtsi | 1 - arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi index e0bbb67717fe..33f939132571 100644 --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -32,7 +32,6 @@ pm8350c_gpios: gpio@8800 { pm8350c_pwm: pwm@e800 { compatible = "qcom,pm8350c-pwm"; - reg = <0xe800>; #pwm-cells = <2>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index ae90b97aecb8..69f5bc8127b2 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -62,7 +62,6 @@ pmc8280c_gpios: gpio@8800 { pmc8280c_lpg: lpg@e800 { compatible = "qcom,pm8350c-pwm"; - reg = <0xe800>; #address-cells = <1>; #size-cells = <0>; From patchwork Tue Jul 19 20:50:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 591734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99A98C43334 for ; Tue, 19 Jul 2022 20:51:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240373AbiGSUvh (ORCPT ); Tue, 19 Jul 2022 16:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240383AbiGSUv2 (ORCPT ); Tue, 19 Jul 2022 16:51:28 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EADCF5FACA for ; Tue, 19 Jul 2022 13:51:16 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d10so14690142pfd.9 for ; Tue, 19 Jul 2022 13:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tWj+Tj/y/i/0qwwBOcJAxizlMqe1RocItPE2akyhLeI=; b=QqAp6C9Ot2OUxEdK0Vxczq1+sB18TvGiwRAL4t3xGJBOQbngC0mBQM7pU3pG7OkF45 cuhme/T2NYS0Ke+Yw83Pa6iXkRFEV2+bSwyfERWoG18Fac6e0Ersm3NWJZGDHxuVO2HR yX++yCRwxH2InH7BF4c2BwEzZuf4+1rhBq1wk1cVGQS5rbwusF8ID7vj6nUf0N37mAAt Jx5yqp9m2AESvGSsYDRefdXHVjKk4eSdzqU/s2Zw3O+rVtiH2hX0pE5dvFDAlt3uL9Vn AJo8MvTiUNl/cOHFLThLLn12RCFmAnNfeHK5Lbw0dI5GqBY2U/nGzLoLcvrQCxAnzvX7 Sfzg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tWj+Tj/y/i/0qwwBOcJAxizlMqe1RocItPE2akyhLeI=; b=3jQhfn/45V4yYXyX6Q+TYVNmwQ+tmDUTeBcy/mMth3Xy3yZ2YAJGi+ApO7HrkJ7Dl8 1izeFl94rncUd18QQ9gGAgqvaE0ZVver0WUz/YjUWN4lu1tUamFl+ohOEkXXIBwePtXM RssWLM9/DpoPWyxwtqPPhlUCI2z5AKxw0r150xcjSwLw3OGFrRRSxOlJzh4/eUQQMmoQ 1wymxEy15gEmLn+STZrP1MYR4WVpHR05Uef36JhNdlAi6xw2uq9of7DnLwUGwwBGx82p fTmzeICe+gbTEKr7T9PkSo4SNCSYdWFkl2tJ+PnXadVFAZWTBkJms8DInajQiuCBNgXJ iZTw== X-Gm-Message-State: AJIora/PXdQWHeJW5pIBPbYrWZ1wky0+lCdNj7a1r9Mr+12SqlpoOVmQ jmiEezhq534A0gcbVOk5oXMFGg== X-Google-Smtp-Source: AGRyM1uc88s+D41jOioP3Vay/EaTZ/gyjlUmb0QI6ibi2ri80bmXk8cO4sEwiXPljG0BEWtQGWCALg== X-Received: by 2002:a63:2a8f:0:b0:412:5278:b90 with SMTP id q137-20020a632a8f000000b0041252780b90mr30319589pgq.363.1658263876420; Tue, 19 Jul 2022 13:51:16 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:709e:6fec:df37:6562:5a80]) by smtp.gmail.com with ESMTPSA id n1-20020a622701000000b00525496442ccsm11929173pfn.216.2022.07.19.13.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 13:51:15 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, robh@kernel.org, linux-leds@vger.kernel.org, pavel@ucw.cz, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, Dmitry Baryshkov Subject: [PATCH 3/3] arm64: dts: qcom: qrb5165-rb5: Fix 'dtbs_check' error for led nodes Date: Wed, 20 Jul 2022 02:20:58 +0530 Message-Id: <20220719205058.1004942-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220719205058.1004942-1-bhupesh.sharma@linaro.org> References: <20220719205058.1004942-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org make dtbs_check currently reports the following errors with qrb5165-rb5 led nodes: arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb: leds: 'bt', 'user4', 'wlan' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Fix the same. Also while at it, fix a blank line issue in the led node. Cc: Bjorn Andersson Cc: Dmitry Baryshkov Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index a7278928efc1..bf8077a1cf9a 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -58,7 +58,7 @@ hdmi_con: endpoint { leds { compatible = "gpio-leds"; - user4 { + led-user4 { label = "green:user4"; function = LED_FUNCTION_INDICATOR; color = ; @@ -67,7 +67,7 @@ user4 { default-state = "off"; }; - wlan { + led-wlan { label = "yellow:wlan"; function = LED_FUNCTION_WLAN; color = ; @@ -76,7 +76,7 @@ wlan { default-state = "off"; }; - bt { + led-bt { label = "blue:bt"; function = LED_FUNCTION_BLUETOOTH; color = ; @@ -84,7 +84,6 @@ bt { linux,default-trigger = "bluetooth-power"; default-state = "off"; }; - }; lt9611_1v2: lt9611-vdd12-regulator {