From patchwork Tue Jul 19 20:50:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 591691 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 4013DC43334 for ; Tue, 19 Jul 2022 20:51:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240344AbiGSUve (ORCPT ); Tue, 19 Jul 2022 16:51:34 -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 S240362AbiGSUv0 (ORCPT ); Tue, 19 Jul 2022 16:51:26 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B38FF422F4 for ; Tue, 19 Jul 2022 13:51:13 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id t15so2466567pjo.1 for ; Tue, 19 Jul 2022 13:51:13 -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=fTd5dTMrn/vgfpcVVVlcdHYJzr85DThlvIgg60myah0=; b=Vrb9FCHRYkBU+cUOZUPiQiH+0W7IsjCfVBpeqUtU6F/+nfBCiqKrCMclgxjh9ZvPjz UBCXfmKm8WnXCYeoJ4YTNYh9E3j0p6hAJRKpTWKgK2OnYaGTwwLbzEn6NdVajwZ2edRb 7Zoy7cw8e6kuqkXroGNKiAgPVn3bpuaVuno2dtoxfYkXPNLVUsi46JJpOZiA2C3gKzks b3LZ4gjqEQdYA3sq2n4arXzRDl8JiBHsXby1vJ4qTsGU51A3PfmlwT6gZzoHfjqsD3J1 IHlLigdIG4rCgpC16UzjLswom1CGNaZZbFO/8PW+jkaExe15yxEH76PsQ2Vr7dKqR49Q +d0w== 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=fTd5dTMrn/vgfpcVVVlcdHYJzr85DThlvIgg60myah0=; b=F1PDRpYnEmeZOz2wWl53RKylBrQNB7hn4NwUftoBmn6ERoAZXzY0aRddHW/JW/4Ge0 dJg6xMGsWxqDk9eP5XB8yrOh8nbp81Acz6mJiyW3Y9scalkRy9pQvIbLuFzqYYC1NWQ8 4Ab4mW8zYB84VSoUobclVWVzjpuM0NIowL94/0jOT5AxH1LZE0Ti8guZd0XfyPTb5LpR bcqlwEXPe1kqN6SmJQb/oMGilTUV3UkkUtSB5WU7UwtWEsCxcvS9KHwS/aADHLbXroMW ReUDcDA38br7OW9z/KA5qEjBX1CL4vnsbvlb6yYly1Gtf0eENb4GRqYeK/qaeo16g9Bf N/cg== X-Gm-Message-State: AJIora9Kti/WllXXiHoITKkIb+7TpnbtWlAKq5CVa2ZVSZXpj9p95eNU T0NizwUuc3aSfnAbngVgu5LyFcIDOKafxQ== X-Google-Smtp-Source: AGRyM1tN1EYwqpvi4mugEEfLGNHXNLDcF3n1MGEFYj5Wmknt2voTMQurz3xwOX0Gx+W05DXxMHAo2Q== X-Received: by 2002:a17:902:da8f:b0:16d:1c82:624b with SMTP id j15-20020a170902da8f00b0016d1c82624bmr1032201plx.163.1658263872621; Tue, 19 Jul 2022 13:51:12 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 13:51:11 -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 2/3] arm64: dts: qcom: qrb5165-rb5: Fix 'dtbs_check' error for lpg nodes Date: Wed, 20 Jul 2022 02:20:57 +0530 Message-Id: <20220719205058.1004942-2-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-arm-msm@vger.kernel.org make dtbs_check currently reports the following warnings with qrb5165-rb5 lpg nodes: arch/arm64/boot/dts/qcom/qrb5165-rb5.dts: Warning (reg_format): /soc@0/spmi@c440000/pmic@5/lpg/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm64/boot/dts/qcom/qrb5165-rb5.dts: Warning (avoid_default_addr_size): /soc@0/spmi@c440000/pmic@5/lpg/led@1: Relying on default #address-cells value Fix the same. Cc: Bjorn Andersson Cc: Dmitry Baryshkov Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index b3740375dd4c..a7278928efc1 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -816,6 +816,9 @@ lt9611_rst_pin: lt9611-rst-state { &pm8150l_lpg { status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + led@1 { reg = <1>; color = ;