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: 592045 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 611F4C433EF for ; Tue, 19 Jul 2022 20:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240364AbiGSUv0 (ORCPT ); Tue, 19 Jul 2022 16:51:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240304AbiGSUvU (ORCPT ); Tue, 19 Jul 2022 16:51:20 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38C1A5E33D for ; Tue, 19 Jul 2022 13:51:09 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id g17so13073193plh.2 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=yQs/xXzff7MjNVmrRlaOIHMHKmZlbkiNaplcMPy2GrlGGzZ4pJY1SqvGKZgsiFUAZF CFKlCVAcuDjlUoeHt3AOWpj9m5xUqZ3jr/2cb3ZG0FJXXA7ArV+423//VF2JO6u6eFBu iDy249Uw8fEnUKMZJAcTzUqrgQvbvx/VwlHu9kAquD0akHPEwjKjUblA8xwskeudPEU2 2QmDGYKY/bAZUZ8gs/pY6LHwWZN5OlztHKpNvzmXbGMhqap6XTLfZ56EpO8pDjKF7hT+ EbKbfy9xCspJyDlVuNuwP6cC9bSTqKQBBdmYYxh4YzQDPqotHtnP8rkfs2FBHYJo3ALY nfvg== X-Gm-Message-State: AJIora82zNW5FA0YVj45jWs2/57RZop09avVjWfiDicZZQA8FJXCzAVe k/IBO/h66wSErRaF1b/sjD1XxQ== 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: linux-leds@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: 592044 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 7B788C433EF for ; Tue, 19 Jul 2022 20:51:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240438AbiGSUvm (ORCPT ); Tue, 19 Jul 2022 16:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240384AbiGSUv2 (ORCPT ); Tue, 19 Jul 2022 16:51:28 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7CB2CC8B for ; Tue, 19 Jul 2022 13:51:17 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id c3so13788477pfb.13 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=kOzWjwOjhRLw4j5iw3ubKVPsB0f1koynWGKLnvcPGaTl59dbm8yTGPvj01z8uBx2xs XYqJatJcNiUx9iGp0SNJ/rDfL7n/Xahl3WFRG5doRCmvshFbKC6RjbaC7xpl+eV2PTdT vO/Gz2nGWM/7LdzUpziUNIi77IpF9GZ/2Zlm+AsneeAQH5Sz6/JVfvwrZWok7eLSQsAN 9TzltgYYNgZZ4fHId+C8GchZ+IhCp4uQhgiRI6wWeRomyIp4xSsyOKcj3HguZ+1uvP1o 07GDrrR+MIPvDYr2jXDeuoHUbPIabb6WuVK0gKQigrJ4LO1kACSvMKUxtGM90rtdCPDr Qx0A== X-Gm-Message-State: AJIora+LGrLzXU2svl1LF+qk9JHM6xsCZF4gG7kKlgOjmXbOJCvWFOMJ +lAr/mons7rl5X+38CLNZmmu/g== 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: linux-leds@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 {