Message ID | 20240226073713.19045-2-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1921645dyb; Sun, 25 Feb 2024 23:43:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXY7c1RC6fR1vKO3DCwwknuF0A38YGFKnVKlBa7QtBc5DcOQKHU0KXO8iRJmrqJCPDs0ftWx34JyCdF9J28VR3Zv8qHIA== X-Google-Smtp-Source: AGHT+IF9ORZolQrkvSgFeeplntB/aYRFanUro1C68I3tRkxX2EPqJqsvb3IcMS4MaN6zNUKSEZpM X-Received: by 2002:a17:902:e842:b0:1dc:78bc:ad0a with SMTP id t2-20020a170902e84200b001dc78bcad0amr7351003plg.36.1708933437819; Sun, 25 Feb 2024 23:43:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933437; cv=pass; d=google.com; s=arc-20160816; b=NGT5eUOFk3qZO/aO1UDjHM72VQ+yVGuAwxZEIcFecI8el+7ZS5VrlZZd+aLxQhsvnF RBxRrmpGokGOtm5qhahcIkulgelp5J7ztEnFaIuDDTQfxFKpwQfMORS48LGhvBv3N1SO OU1uucBt1qtCnMsChVE8XoLd6Xr4jghen62yxq8G8s2DUSZteE6RqaGv4EerOQdM5+HA 4kRQnBmYih3OI2C0qLYJH9PlqGl+9rYfGXyiecHmyxwQW55buF6GeS/4UFYC9hPwv9WI muZX8mvFVuF9ii40cEa6LSwHPEVa86tjOuX4uAegzxYZ62OJXTyQbvTWVAZV71cvgB2U d0Bg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qtudR6y+jW6q5p42Avp54tksFKxCeQO9bbxUbvEIoSc=; fh=vUY/OflmGiXevzRNIWO3s0sRmU+xptSyDre7+JjX4aU=; b=qUPb8wLqT1nGx+nRUO0xEvAjXuPXkBe6qvtjJbuAW6Q+Y1NYcpfd8nuVp5bQ3/RVAS xfwUA8Q7/J2fmuBwWD01CSjG8QVAF6Ukwh0Ty1JfMTC+RG6OqNZa2U2CMIQ6rEIVPjOl d+JkjDLYe7wFoleECACx/WdhghGFjHTQzwpKnQLDNJbbkwCdLvhEPGARFwElc0P7B3It rFAb+pWgh0Smy8f9jlfFPjz/Nnx8ZvEsmd72gM0d8Xnp/niawQNAmHzvuP85UT3RGyKq 9t1TyaPSI+LRbUrZpAh2uDK7BlV32bWlYdu+okKXu7caR9EyZWjivTYGg6sML8fYMtgA Gr/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bJZFy6W4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z2-20020a170903018200b001dc88bed194si2932620plg.21.2024.02.25.23.43.57 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:43:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bJZFy6W4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80681-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1256D284848 for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 07:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7070423767; Mon, 26 Feb 2024 07:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bJZFy6W4" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CC7A208B4 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 07:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933043; cv=none; b=jZrz41bJt7FFNrttuM6ucXvEdSmeBBx47zQpJnBSKUNYP6gyit1l5xSvldb3jRUE8u5CLh17vw7u4ggzqt5ADSArtcynn9IdlsaXgE5qOjleTYMcCO1DHe1nXBJHXWl1DppR1EDaoPxQ01zEYCCEqmW+Gzwf46cwr84tR7vhoIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933043; c=relaxed/simple; bh=MSLO6p6CLg5E7T6Q8ECa0ZNmYj3H9/YuL9uFR+h/0zA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=He3nwToARAo17nAk5bNtjlnJRDxLn3HYxWyDpOAbIyrJ+sedQ6nOpuSbdMwPn6Wz38EqWYy0/4Uwa02ZecAnBSE5nlwmXbsQ0iuBDURYxqIwSVOFSIsizq9Y7+mr0cTCwyDM4ZlfqAm7RVdNoP5wX7l9Ye5uWHEEsrgk8yPpZ2I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bJZFy6W4; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a26fa294e56so470682066b.0 for <linux-kernel@vger.kernel.org>; Sun, 25 Feb 2024 23:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708933039; x=1709537839; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qtudR6y+jW6q5p42Avp54tksFKxCeQO9bbxUbvEIoSc=; b=bJZFy6W4LqWlWMS15YCdClvA9Lv55qoJo9ttPxxUlm7VZD8ECtoYKW495w1qk1YSvr 55L0WIIYKfvk662/yvcqtrisvg1yCcek0at7E1iwX0jkUUUdRE97LJ6udcoRg67cnNAZ mCUkx9IheL5bpLgXq7w8Qr95YWuloroSJPQkBra6F0n9pPX0dho/YDk4dWiOGrv7p45o NZ6Kv5TDFckQnwCq9qEDqcF6Uc8pBEe/R1JqcQysdoDqeD871ni3hZLmc7YiyVmABRUB xVMVSFc+Ia2fk7e3Z2HOIAXhIckGrTfM1Vivy8R+ahGSMJvKDKocsYwYp6xHZKfA0ygE A50Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708933039; x=1709537839; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qtudR6y+jW6q5p42Avp54tksFKxCeQO9bbxUbvEIoSc=; b=MdcWK2ZTaTDFAnvM8p9XDGQQWQ3N96aHgZgKYzY63YB8VHHx8H9RX98w5bGX5JDE7e 3uzgtBhpnv5cKl2M1+GEBO5zKcX+Ljw1uLVkKzffUxG2g8aHsfVmMutH9qAyevfL4XdS uQb07CS2aGx0F+i0N06HMLzmJD9BrgaL6tTdV1DwtiW2u6LNIu5BoFIX/DuqWLd3UgHe ICj+ZGpa8d1D0haY13fgWK0dV87qe/ewcx8plCxNii68rtOaGr1mXgecUuvuEYjZLzi7 LIAx3/nBQA0dL5siIkxpt9Bkp/LkSSH87BSHgBkGStTv6GitZjP6qLOACywLDK0fgVGV x0Aw== X-Forwarded-Encrypted: i=1; AJvYcCWmrl+WAxnsLq3t2eCU35iZdqaUNMqUEmCT0EPmvZg9UnioENjpfrruWybZ2GBSTmk4juo0FMX7yOX+zuHlBBDyIVQQCYgD8VxRr73O X-Gm-Message-State: AOJu0Yw2F/LhBs/MURt2tdlquVQVF61WilwKiLP3PHJKDSDCTlJVZCDb gL/Rs0FOT2Lwu0DSCl7WQA8rwx3ZHdcFEAzgf1vZZC3HkH/TVM4hD4Foag8dFn4= X-Received: by 2002:a17:906:140c:b0:a3e:dcd2:2746 with SMTP id p12-20020a170906140c00b00a3edcd22746mr4391929ejc.3.1708933039586; Sun, 25 Feb 2024 23:37:19 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id y8-20020a170906558800b00a3e8c3fc3ffsm2187425ejp.10.2024.02.25.23.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:37:19 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Bjorn Andersson <andersson@kernel.org>, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 2/2] dt-bindings: leds: qcom-lpg: Narrow nvmem for other variants Date: Mon, 26 Feb 2024 08:37:13 +0100 Message-Id: <20240226073713.19045-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240226073713.19045-1-krzysztof.kozlowski@linaro.org> References: <20240226073713.19045-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791946588159239485 X-GMAIL-MSGID: 1791946588159239485 |
Series |
[1/2] dt-bindings: leds: qcom-lpg: Drop redundant qcom,pm8550-pwm in if:then:
|
|
Commit Message
Krzysztof Kozlowski
Feb. 26, 2024, 7:37 a.m. UTC
Only few variants support PPG and store LPG per-channel data and pattern
in SDAM modules. Disallow the nvmem for other variants to make the
binding precise.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/leds/leds-qcom-lpg.yaml | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
Comments
On Mon, 26 Feb 2024 08:37:13 +0100, Krzysztof Kozlowski wrote: > Only few variants support PPG and store LPG per-channel data and pattern > in SDAM modules. Disallow the nvmem for other variants to make the > binding precise. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../bindings/leds/leds-qcom-lpg.yaml | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 699db7995dd5..54a428d3d46f 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -130,6 +130,26 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,pm660l-lpg + - qcom,pm8150b-lpg + - qcom,pm8150l-lpg + - qcom,pm8916-pwm + - qcom,pm8941-lpg + - qcom,pm8994-lpg + - qcom,pmc8180c-lpg + - qcom,pmi8994-lpg + - qcom,pmi8998-lpg + - qcom,pmk8550-pwm + then: + properties: + nvmem: false + nvmem-names: false + - if: properties: compatible: