From patchwork Thu Jul 21 19:55:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 592506 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 92F09CCA485 for ; Thu, 21 Jul 2022 19:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232834AbiGUTzS (ORCPT ); Thu, 21 Jul 2022 15:55:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232789AbiGUTzR (ORCPT ); Thu, 21 Jul 2022 15:55:17 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B20F2A40C for ; Thu, 21 Jul 2022 12:55:16 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id k16so2793655pls.8 for ; Thu, 21 Jul 2022 12:55: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:mime-version :content-transfer-encoding; bh=vwPz+i/LG1npAqFgCS0nUkNdl/zj2ZuwSHgiAEN72PQ=; b=tcMlhiQhCfKSehHUrvfZZfCRCvFdTrWHYm8OYgdiRemIZsBQKPYTrFHIl1PX5pndNh yRKQNJTriGy1XVdt/j6zBlhFuJ7ZxFYEkl6UmHTqEHwzCh1a7Xw7MmM08xPnlVY5yL3I NsQXucNgL1ukprRdFr//EP5NoqNk41sgZE2BTTLx67SAjZoA8I3Zdosl10j0FDyYdgqY xOVmj+aw6LBEslA0kxB4DPKRO8er9OsXahZtQ1YC6U2m5NXrqJyFK5+GOB6WxClZXFz5 u3Vjk3Anf/pOITehD6J8KsCyesZTnunQKLhfMu+I5XnhVM4b9HEXKcIcJOzOHdqvwYfa lAag== 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=vwPz+i/LG1npAqFgCS0nUkNdl/zj2ZuwSHgiAEN72PQ=; b=7cGts7F+0iGchKl2X1MHyAH8ZQJ9Am/gj+PypOH5N6FtHtQDWCS1pbUg3xTtMXCWfO roHHV9ZyzA/QDDOGsdMc+g9ThUmp/T7atF6IKgZHeAP2lDzovtyl3q/g5nmaQrAEOwmt OQ+gWuTP/dlqx4QDjOAdmQ2OzN5Ihmp3+Ye2FAT6MvABKuWrbeAJ4zelS3Ek50E+q65n ASM5OBMQVxL2ZAJlGD/+2wO2zI70T/TzmWxMTGTdKf3NGHh69i5M6eR+h6tbrAYnM6Te i57WoTNyXFAWgEThHM1tKE5dJw16MTakJ3yIXxNyRPpUBycTUoV/VG1/g5pJ6fb7caOP WTBg== X-Gm-Message-State: AJIora8o7KZjA/RxUJzHVKax4th0O3T5keKtHMxzbUctzfjH+cqGGJP6 cDSNGu7006Vh3WmqPNz0bAKKGpn2toOxLw== X-Google-Smtp-Source: AGRyM1vU03uK1i/NXCDdKaWUdFYwqXL5N9UW+/hUGudfMZ7kJaKURIUIYTp4nvLkuvMigm6/a5GcCg== X-Received: by 2002:a17:902:ec8b:b0:16c:1cc2:6794 with SMTP id x11-20020a170902ec8b00b0016c1cc26794mr44269518plg.17.1658433315613; Thu, 21 Jul 2022 12:55:15 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:709e:6fec:df37:6562:5a80]) by smtp.gmail.com with ESMTPSA id o9-20020a62cd09000000b0052abfc4b4a4sm2232356pfg.12.2022.07.21.12.55.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 12:55:15 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, pavel@ucw.cz Subject: [PATCH] dt-bindings: leds: Describe optional 'reg' property used for Qualcomm LPG nodes Date: Fri, 22 Jul 2022 01:25:02 +0530 Message-Id: <20220721195502.1525214-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-arm-msm@vger.kernel.org As Bjorn noted in [1], it is useful to describe the optional 'reg' property for Qualcomm LPG nodes as it is used in some Qualcomm dts files. This fixes the following 'make dtbs_check' error reported for 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]+' [1]. https://lore.kernel.org/linux-arm-msm/Ytg3tIaL5h5b9ewH@builder.lan/ Cc: Bjorn Andersson Cc: robh@kernel.org Cc: pavel@ucw.cz Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index fe336fa16518..f394ab7a757b 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -27,6 +27,9 @@ properties: - qcom,pmi8994-lpg - qcom,pmi8998-lpg + reg: + maxItems: 1 + "#pwm-cells": const: 2