Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp886352imi; Thu, 21 Jul 2022 12:58:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sdgXq0/vW9VNOzpD7g1dYas8q1L1RJvJ70HUK/104+IHbUcEqCRHzi5oZNRBNgIm/6zbvh X-Received: by 2002:a17:907:6d8f:b0:72b:6b87:81f1 with SMTP id sb15-20020a1709076d8f00b0072b6b8781f1mr177353ejc.674.1658433500089; Thu, 21 Jul 2022 12:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658433500; cv=none; d=google.com; s=arc-20160816; b=Wfcp8n1o17K1mr1Zh9q8u16N/kCK04TO8LuCZ4DjzTgX1l8eKwT4NiblJXIp+bELmN LQ0O/3378Oslt1M+u5P0yFTqTGb81wMzwhUgbaI6qsvFis3llTwZR0Z3oNCs+27VJ5Jz YCOWrEqorXYAJySrxsYAoeGkorE5eDTAlxNjYxEWry/G9kcLkQ71xkzdLA/z0X9XkcHP HQFbkeS4hLgiQ4XekXBVjcmQQb0UXoTh4CM206H12WHZyWZ5PSy2r3ebOmzTn6YqsOo1 h5Ih7/LwKllNA7gFeOzCUOCMkFLcssKl10QN1JNTQp2/1C8u/1J1qL8lqXgHEXUtzO9s L3nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vwPz+i/LG1npAqFgCS0nUkNdl/zj2ZuwSHgiAEN72PQ=; b=eXqUw19MJhDfK76MuU2MdC/IyurVKptfDAfXY/SzY6UeeeiWRfhGyJS1V7pZb5rC/a nFyAzQlf/Yf8ktcCVkcw1vYjGQaGskaOwlv5ZxZgwBVHj4Jl+zgbw5D0g2U7rxJskJwj t6FD4YilPq8R6SiAMKiu8J6SZI35YDHhVaNfWKCJHaUOukrO4UF4q6vd3M2Sf/7N4rha Rg1UC3NYH+mpOpqIs2MPYgLjNCDhcsrjhthgGaf8PLHW2z4jTzNKm9j2Z0zMTvJOkeQS 7lsC9ebPpTT0SByZcjxDh8yIiz0zr7D3Dt/DwQ3Oo9mhW7F4bhN24uR6JSDVSOyYZ7XU wpuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tcMlhiQh; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz2-20020a1709072ce200b007070522a0fdsi3472539ejc.835.2022.07.21.12.57.54; Thu, 21 Jul 2022 12:58:20 -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=@linaro.org header.s=google header.b=tcMlhiQh; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232927AbiGUTzT (ORCPT + 99 others); Thu, 21 Jul 2022 15:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232808AbiGUTzR (ORCPT ); Thu, 21 Jul 2022 15:55:17 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 433D02A278 for ; Thu, 21 Jul 2022 12:55:16 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id f11so2811567plr.4 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=7sTV1oMmbJwPs3uSuzLtffIrbpqe48rU+wFWfh7r/bgEVVLms1joEtuxlUalNOGCdH U21t3ecAoOvgkm+403il7lI//XiyATRBQ1ucYlY5xwyn/6PV6azKqgMZvUdihzKNTRAC GZBUAetSdWBIdFJXgFPiHvX909mpJRpvc0IEeROJreQf1lHrmyr60hhn4V5lwrBMMcxH VFH76ofOvWcYjMD4h+2d9MSQmRBS49W3RIJEA3kE3F9hdEGjvR60YYL2JWNL2yAk1gq4 qDUhr061x/js5DRa83BzeCdj3h+nOYh+TaHS+DR6m6CNSlVLbAnoc8BIBfCUwADlxmpL zGRQ== X-Gm-Message-State: AJIora/sDTHfdaLuBJRNGomaktxC42ynJjwX6OnPIiPbM9+u9/tKZ64r J90P3TUwa1X1/5yPD4i0fQSKrQ== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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 -- 2.35.3