From patchwork Thu Feb 29 18:24:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 208482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp601666dyb; Thu, 29 Feb 2024 10:38:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX3jZwKJdq5bX1GGAtRDG1NsmluQQbrWqOU/zuDVCOFGuEfv9D7efSYvW/jqkTskqUiDTPrL+jHIhmAgvItk0W+8iWMqg== X-Google-Smtp-Source: AGHT+IGNrwKb+VPmdAYM9I5QdxyTluhMmoJBpBfNKAwQ1TAf115bS9oURmY8wIObiyrU3ElKNxH8 X-Received: by 2002:a17:902:e5c2:b0:1d9:adc9:2962 with SMTP id u2-20020a170902e5c200b001d9adc92962mr3999012plf.20.1709231889287; Thu, 29 Feb 2024 10:38:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709231889; cv=pass; d=google.com; s=arc-20160816; b=O83sd5Ktc+osX2HCyFFoNXVoSmg5I2UuTev+9MagWEO2ey3WTJJYwu07o6uLwrNqgf aDXXHsVBlmlICP+OqyNh0ZlKa44jORBy3AnjfSNnCSp8uX2Z9WwW2z9vkaD9Ktuh7am8 EboVmB9QGqhZNulED1omwOR53pUa4kLBvTWB+EmKJsz9+IIgGZtiwRaaE2O9fs6fScwy 29fHYk7p/sJ4TJw0WocBkBPCPWf3A3iTotQxIGa0BifDOKV48YibWXaTEmj9ujbm4bss tS5WfUfpe+eeAfaXsozegAIO1PYszcC/bWJKVBZkuNDwXOMW1Oz1RkDPEy1lOH//4H5K mcCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cXCAWvJ335Tf0N483qw/VPh65kuNwFvpM2+2fZm25Co=; fh=wexhPP1pnv9V3kohxHnFdQi7sKaeghLJE40OeeNTVNg=; b=m6s13EQcztu/sDTLMuLt7RsRBwiRRAkfz9PhEIahEDNnN2jUXUrIixarb2zKx/1Qvf 0ShJvk4bVNqmyUamgC2WFh+LEjv7m+1CNWBAh6NFwDLXFqIOrNC4ULYC6WzCRvq1jATW z0n2BxyULzXyGLSkyBugho+8AkPUw+osnPt7lxoNHcPXIH9/9mgCWnmqH1G5hSTmlnm1 aRI2Z40C9rAwIYm3yBkUKYHCpWvAjsyaD3fXy+rTEO/UhXQe20BMYvRmCfxo1NS+PkUr +qbjjj/Fc4K+HqwPJ3rOYLgyXb0FhZUIn1n3k3ZdcIyEI5ZUFqh/4uKGkBhDLlZQ3FsN NNmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m3fyxzix; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87279-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87279-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p16-20020a170902e75000b001dc418f52fasi1906776plf.571.2024.02.29.10.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 10:38:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87279-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m3fyxzix; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87279-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87279-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 86AE4B25C62 for ; Thu, 29 Feb 2024 18:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10BC8134406; Thu, 29 Feb 2024 18:24:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m3fyxzix" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62E7E70AFF; Thu, 29 Feb 2024 18:24:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709231073; cv=none; b=SAccH1x7yMLbnduq4LS3ADsRuK85aN2JB3oqB3lQOp+BeyoIfOxc4JMlE0S5PUABkWKEPFZRuuEvhG671vt0hA8rBCy6RX+1RZL2jEoMCohywxiG6c53MiHldeEC1nIYD0hIwVxx5/n7jmQPnkQO/TpDNAUH6wgkbfh1b28bJkE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709231073; c=relaxed/simple; bh=owRtMB60N4nLYRY30ar53Jnf0Bh73JU1ENEVrBOTZpY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KDFMvrQVMPEftAijzwaJZQAa52mz97p5NBI/gMLfpgHXT9+lRFjnKv6ulAO/8tx2CvXyAotvh5kKOhvfkdL5FH4bjZa+JK8oKX2jI6aj9onbxUJ5HOOwBCWLyTzccFVWpxxnR4qOBUzsmz1EeRLlsNm03SnJS8uGLjUjar+n9is= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m3fyxzix; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9641AC433C7; Thu, 29 Feb 2024 18:24:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709231071; bh=owRtMB60N4nLYRY30ar53Jnf0Bh73JU1ENEVrBOTZpY=; h=From:To:Cc:Subject:Date:From; b=m3fyxzixMWLLWuDU1VI02wsNPIrgu18PKMB3nYauh2ddFscVlK06zRyLI2hLhtGwF fEXYMn/xaMPrNBhfjsV9UxXeGFEXIWB55TZ0MEMVQXC3nwm1GPL0tBSuH/u0peEx6b qZoH9yC5iG7xOKxnNF1gVRhmvoh7sW1ol4OHPIUKmKJLUEYASYINI+mmmbz0plUApv 56VWDh55xvYzVQ2e5MXkIaENwYzz1wR93hry6QZjBI20j5UKV3D2NMTSKD65EfCZKA Kvg9seACZWv0qUFscY8022irABrkHnH56rIJeMO4Mv7i8gsAqKcHIxhCzihhaIaPa2 dDm3+JSAyjF2g== From: Conor Dooley To: netdev@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Rob Herring , Pavel Machek , Lee Jones , Krzysztof Kozlowski , Conor Dooley , Sven Schwermer , Christian Marangi , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [RESEND] dt-bindings: leds: pwm-multicolour: re-allow active-low Date: Thu, 29 Feb 2024 18:24:00 +0000 Message-ID: <20240229-excluding-bonelike-d8f01dcc0623@spud> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1756; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=VcurFTzb2TP3//4Y7vcwerf6iF/VbPf6TOYoBbN+VFE=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKkPTh/Ilpjc9kk51iF/q5HsTv0vC/UlRasdj5h0cjNNf 2WisGt7RykLgxgHg6yYIkvi7b4WqfV/XHY497yFmcPKBDKEgYtTACaydwUjwxHp95JubPmGVfJd qlvMWB/uXxa1QP3Gs5mRlnxbt234zsnIcNdXOym05d7/aZH2hY4bGDU9XONjD3FMDN27XsZ31ZQ ZXAA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792259537451626474 X-GMAIL-MSGID: 1792259537451626474 From: Conor Dooley active-low was lifted to the common schema for leds, but it went unnoticed that the leds-multicolour binding had "additionalProperties: false" where the other users had "unevaluatedProperties: false", thereby disallowing active-low for multicolour leds. Explicitly permit it again. Fixes: c94d1783136e ("dt-bindings: net: phy: Make LED active-low property common") Acked-by: Rob Herring Signed-off-by: Conor Dooley Acked-by: Lee Jones --- This needs to go via netdev as the commit it fixes (and is based on) is there CC: Pavel Machek CC: Lee Jones CC: Rob Herring CC: Krzysztof Kozlowski CC: Conor Dooley CC: Sven Schwermer CC: Christian Marangi CC: linux-leds@vger.kernel.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org CC: "David S. Miller" CC: Eric Dumazet CC: Jakub Kicinski CC: Paolo Abeni CC: netdev@vger.kernel.org --- Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml index 5edfbe347341..a31a202afe5c 100644 --- a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml +++ b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml @@ -41,6 +41,8 @@ properties: pwm-names: true + active-low: true + color: true required: