Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp924706rbd; Fri, 23 Feb 2024 07:43:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWExrcb8K/PWhJZ4o1EBSGITZ6cbJhONrCdmU3R6FOcCPPhrrGZMggXCrn50TootvpemhAYVYpO4RT1vohG1iX9wfdK7q/XPY7Rls0P0w== X-Google-Smtp-Source: AGHT+IHHO1aBE2Iv7HtN+ib5jbz/h2BRf+EXi0HWDYNdC5/LLV3/RX0Htn2+L1u+iEexyLDy4ELr X-Received: by 2002:a17:906:1948:b0:a3e:1a96:a22c with SMTP id b8-20020a170906194800b00a3e1a96a22cmr122149eje.38.1708702999077; Fri, 23 Feb 2024 07:43:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708702999; cv=pass; d=google.com; s=arc-20160816; b=ZF9qP3wfGlVDivkAWzu5mywLWmsoJKuzy3VUBQD1WMKH89t/A+pOTz+Ny7ClwSRA4y oV/pDjCCzB8nHTsVOpGtzuhimttw6As0g9DW3uQsGlHB2ehtI7hLwth0Yp/tzKOH+T2C lINzbOBNR4Ay9pA7wIo+8MBGSEt1YFqjR+v63Ly1mzVXExp5ir8PdgYfuz5bHsR1ef9F j7F4mw+N6hjN52xiHF0xgPLibsFLDkqxxJXf44/oGDEJB0oiotqRhx18Xe6BnwBlYMVn XGkNSKqwN5HfIrRW14mNMiAStvoetfnPK/z32RJSRXC6UAipHlyidd5ylkP/TFI9RYXn U+lA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xw0ZaVGrlPuXDzYpbP/EM1XQ60sbw1aa3W3JML4/FZg=; fh=uy6dDqeK4oe+FC7ENfw5DVlhomSw1XmctfEhQWwM6bg=; b=O19yOStxkJE8hxy6jPc6iBSvKQCIIsmolC8QrczGbFuPs02EbA2Wm67OBHvTHgEAxX 4h6tOz8Hz3lkdCKbCalN60GMChey7ecMDt48kPBuJVXCx9DyNmV579eG3neSN9TBnofo BMj7h/Z+//Ym4spcWatNEh5XD4j6Ro+OWPIsnZY5tgk6tcuqe04uTspsm25q8iE18LLt 7gHpQPDdtGXi2YvDBCRi8ymO0jXDIYicsPKhzCF3fxCLMtO/rnGYyFOu1RGoeBqNtpuT lbYZvtvmNf9ZD9lIl0q8oJBB8Rgh/DQDKsVvjVmyau9GPyyukLjlWTik7HUcmWm93bkh +ncw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fQjwj/f4"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qw17-20020a1709066a1100b00a3ec245bc6dsi4344722ejc.620.2024.02.23.07.43.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:43:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fQjwj/f4"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78630-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D17921F22ED0 for ; Fri, 23 Feb 2024 15:43:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2256782C60; Fri, 23 Feb 2024 15:43:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fQjwj/f4" 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 3A30282863; Fri, 23 Feb 2024 15:43:09 +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=1708702990; cv=none; b=m1SpQYXmfsxfGjMgtmMYLiPlBCRjiwfp/IbYr9J/2zSNS8b3X+gOGdSmcsnBLNs3vDnT0k6Oo0O5lTDWKcw7mCzBgSHwIEiwswTPBy1xuAI1qzid4MGlCflgqw9qzN5A6HJqBoEBil5Zc8iMseJo/qoZZuyzl7pR67opZJM4ApU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708702990; c=relaxed/simple; bh=VulX/bEzC0bjQkYNIhonnatB3A8d1Ksmk/boghxkEaw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FSgNEn7kBgDQMyPrdTaxucjLWoY0BLMjfF9Dfn2ksYldzk2PcpUvMifThWnhDHOKAmc06aBR/scqwvtCp63EWvPCWM9c0AJmDI2f3JuqGfJzB+OlTwuzPLVT3mUELMQyxRDVxxbvzHtWHapvu6TF1KA+Ddqt9/fH5DqxC25Ex4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fQjwj/f4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A83AC433F1; Fri, 23 Feb 2024 15:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708702989; bh=VulX/bEzC0bjQkYNIhonnatB3A8d1Ksmk/boghxkEaw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fQjwj/f4dQ98xd0fo1xB7lPKHDUxOPTz4UCfTpUlcO3fbM2pMRC5mbsn5wYzc6rDD 51uWyKM+IuiVDK2E6sGleOjE4ZsaOJOa3vbCbt6v/wVzWTs31RQzHI/sTkgUqgFYb+ ZshFgXTcKhqqO79Bhqa8Ew3u7kv6xoTNcOI5ZyZlow+rl9FMGi/jQ2s9WopDWz6zLu Minrw3mN+v7mOtl6EYUxzqQdocc5rHQ/+oxAX7R1qJQ6SMpOfdevtUD6Mtk6NrBwz4 JWRddU8W+MjeIH/6+bO+lCksqNglGMD34q1Vywql1Zj4a+UcKPQbhG1ycypNEQhhwf mKz5ecVg3Su8Q== Date: Fri, 23 Feb 2024 15:43:04 +0000 From: Lee Jones To: Conor Dooley Cc: Conor Dooley , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sven Schwermer , Christian Marangi , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: leds: pwm-multicolour: re-allow active-low Message-ID: <20240223154304.GE1666215@google.com> References: <20240213-verse-clinic-e6de06e1f18d@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240213-verse-clinic-e6de06e1f18d@spud> On Tue, 13 Feb 2024, Conor Dooley wrote: > 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") > Signed-off-by: Conor Dooley > --- > > I'm just assuming this is intentionally restrictive, if its not, we > could easily just change this to uneval: false. > > 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 > --- > 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: > -- > 2.43.0 Neither checkpatch.pl or Git appear to be happy with this: ERROR: Does not appear to be a unified-diff format patch total: 1 errors, 0 warnings, 0 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. "[PATCH] dt-bindings: leds: pwm-multicolour: re-allow active-low" has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. WARNING: Missing commit description - Add an appropriate one ERROR: Missing Signed-off-by: line(s) total: 1 errors, 1 warnings, 8 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Your patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Check the results (hit return to continue or Ctrl+c to exit) Applying patch(es) Applying: dt-bindings: leds: pwm-multicolour: re-allow active-low Using index info to reconstruct a base tree... M Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml /home/joneslee/projects/linux/kernel/.git/worktrees/for-led-next/rebase-apply/patch:28: indent with spaces. active-low: true Checking patch Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml... Applied patch Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml cleanly. warning: 1 line adds whitespace errors. Falling back to patching base and 3-way merge... error: Your local changes to the following files would be overwritten by merge: Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml Please commit your changes or stash them before you merge. Aborting error: Failed to merge in the changes. Patch failed at 0001 dt-bindings: leds: pwm-multicolour: re-allow active-low hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". -- Lee Jones [李琼斯]