From nobody Sun Apr 19 23:33:30 2026 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 8CFC6C433EF for ; Fri, 24 Jun 2022 11:13:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230271AbiFXLNc (ORCPT ); Fri, 24 Jun 2022 07:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbiFXLNa (ORCPT ); Fri, 24 Jun 2022 07:13:30 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 907E335861 for ; Fri, 24 Jun 2022 04:13:29 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id t5so4052974eje.1 for ; Fri, 24 Jun 2022 04:13:29 -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=0zlxTVnvbHpKy0DwhHrN4iNAtQ8jGGjP1mEZMb9Cqfc=; b=BZ40dSXMcmZVrrFgwl+Svd+XT2GC1ZjSxQe9gAJ3i1aM9JQG6gU+AV52iu7Fpu+iwr AFTy+gCgeUc9N/+qCzAIBTlf1Ic+VQE6/mjVzQIaXg8pgqLlubqvTatTI0AS44CWLCA8 2N44cmo7bFuCuT1V7gvfWlEI7yslFcHD0dH/5M1Mna5ZM7b2YQ13e8ssvEqwA93ACrfI 5bAePAt2QvDX9rB3N64/NHt0r2E/fA0why7b54JgxQPrkaRdEJCNwkX80Iu130RMgidl oT8yc1svJdnXmoY92DuwF8QGj45XnrCYInJwlsyVWjLh8KJsw7u9b8nRVUP7NMuPRHIr X3OA== 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=0zlxTVnvbHpKy0DwhHrN4iNAtQ8jGGjP1mEZMb9Cqfc=; b=sHXK3u+Sbpx74bOlo72Wfq2wyAvhVV2XhB1jU0cOcX35oSZz+Xq3HugKbTUbd5z6Zw FkP4VTydXGmbAcYEQ0hQoKltx1n35DIIhxuyV9KGciGkk75u+ZSLUH0MilVUJqM2R/ux hnMdpYB9L1ZFO8wETyQmrBU+K1mZPC35jW2OjeyYV88Jzu/PnpWYp+iijA0FQ+bUiet9 66k/uonQjhzhAvOfbbwMTj/l2dVI8Zh+RE4O9WWidH5UR0bkRG4yxVFY8oe7bb28Qy0r RyNTF7+S1YfEUcEkBwxLRDlBwssLYL4xf7QqECrJcPorjuVCm/9zWxDoamiR+Wsefg21 n8hA== X-Gm-Message-State: AJIora//kEF6OogWCq+tYtugsblTiT3gb+a07BQC8r+YRncvJIYAdHsx q3oOoCz/V9ZsKl4ob2XBDp9q2Q== X-Google-Smtp-Source: AGRyM1sIeHNs7Q5rcCDUucuqRivorQ8lvaJWn3CypW2Y1pnrMMJZxiu2vO3vGBttNwZ8JeR2lpFs/w== X-Received: by 2002:a17:907:72d6:b0:722:e59a:72f4 with SMTP id du22-20020a17090772d600b00722e59a72f4mr13068601ejc.158.1656069208122; Fri, 24 Jun 2022 04:13:28 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id x22-20020a170906711600b00722e4bab163sm898877ejj.200.2022.06.24.04.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 04:13:27 -0700 (PDT) From: Krzysztof Kozlowski To: Pavel Machek , Rob Herring , Krzysztof Kozlowski , Dan Murphy , Jacek Anaszewski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: leds: lp50xx: fix LED children names Date: Fri, 24 Jun 2022 13:13:25 +0200 Message-Id: <20220624111325.96478-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The lp50xx LEDs expects to have single-color LED children with unit addresses. This is required by the driver and provided by existing DTSes. Fix the binding to match actual usage. Signed-off-by: Krzysztof Kozlowski Fixes: dce1452301e7 ("dt: bindings: lp50xx: Introduce the lp50xx family of = RGB drivers") Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/leds/leds-lp50xx.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml b/Docu= mentation/devicetree/bindings/leds/leds-lp50xx.yaml index f12fe5b53f30..c274a10bbde6 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml +++ b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml @@ -65,8 +65,14 @@ patternProperties: for the child node. The LED modules can either be used stand al= one or grouped into a module bank. =20 + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + patternProperties: - "(^led-[0-9a-f]$|led)": + "^led@[0-9a-f]+$": type: object $ref: common.yaml# =20 --=20 2.34.1