Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp52475lqo; Wed, 15 May 2024 07:32:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2r2JQg9ocqvOOiKRPhwiTokdLMAz8wQcwhQ1mihykP7semyAc1Olfvi9fbZIerDMvJ2TwDHhGQq2xIKGWjSjs5K8L0gwhbWVtjrnU2A== X-Google-Smtp-Source: AGHT+IGUX5cXfKQ6Ug1A8VWFm27IcIW6jWbdQp884WD7ve2zgtJGDxrJ3pwmM/G0UKVvtX+w7uvD X-Received: by 2002:a17:907:6d12:b0:a59:a532:ed5b with SMTP id a640c23a62f3a-a5a2d665e29mr1330834466b.50.1715783519771; Wed, 15 May 2024 07:31:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715783519; cv=pass; d=google.com; s=arc-20160816; b=u+H695nndzhA20syIg6DBTVluZ/Kd8G8cHmVoCQthVLj5d0+Al/B0nzLt/II8rrCgU xY7vaa/S5szAg1U23iBu+5MxqTdhALjUFBdS46CjQKpP8lTqNx90Hlz92cgoTErJ0sjL kZjMSYV8AGhZ2iqdiJipVpAjexRVddXfYWhNBFSlPNA7T8x2tUe6wmKdboy4NjHSXJv+ yxTUaJAtDDIfR78qCyQKfhZQkwXK3hs7NG40U19lULNujj35VJWknGWaEtwg1baAX83v vRv7ETv4hhdHawB+96w7k6mN3+p5HsM0LKlgAsHVUYK6yAlDDfL83uEylkuOi1B5EPvQ Dhtg== 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=3o07VRMVpwb16MqNXJLEDn9KQoBGTq/2iz5EAlrtis4=; fh=m7dwZnnE1HljidkUXStyp+7t2YD5pglbpUDnV92hyqE=; b=CHg1sv+/ZqZZ3ho0qbYSNwSKLgQ1C8reAmWzgeGfQDcWLJLB3QOtmt+ssM5aYwTBEs V7PNgmlTte5ZA3+TtbOrQQbhcBuas2AqUCFyScovUcxRN7aHW8mru0bnZ1nZXTftfSgZ APO1b9LohHrMsTrT/ldUolzjFwl0odzrlllbCi8j+lW2Duy9Y8hV2jq7HSuymPPhkCHE seN+LhUGO0Z1fLGlpva0qrHuEayqdUPoWA6ET1W+KR+YzYLi7lVOODkW9nrFfbWjTMNh eTaU5iFFiw4xmq6Dqe+ZKwT8uElGp1FfyTJMWGYNjaPLib/6SILBJr7vPn3FPm9SB+q0 id3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZBu3h28U; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-180006-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180006-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a8cfcfa94si144991466b.681.2024.05.15.07.31.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 07:31:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180006-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZBu3h28U; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-180006-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180006-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 811F91F23FEB for ; Wed, 15 May 2024 14:31:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D6C8143C7A; Wed, 15 May 2024 14:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZBu3h28U" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 12D49143C47; Wed, 15 May 2024 14:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715783512; cv=none; b=ubC8uUhwjHhL9dI4CBro/dsy/E2+HkGJ773tOl04MYqbuDQXyhaY58LMjyzLogWy3lTLALJKoLlCNd9jaK7rqIf3XsxDMaQCZcOh/2lAZIGPsSQXSuUzxT7cPTopXxA8NyAS8tKd/4vuW9XwjV6DnRqQhjoImEFbsNb4EjKyIx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715783512; c=relaxed/simple; bh=ax35zVvMpZ7YpBaDMktu8RlntdfY/v5JxB/kgwoeI4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qSYAhM/HmVhCThWrbZ8/A8PvR/Zi0rAnmh4cEwT0f2FB/eaQTk96mqTZYaDvUKAVZPZZ7TNuKeeafuDfxGqpO+XXMbkq5aJGmOg9JhXmT23k+v/jMSPnlamVFXOgYwllC6ipenliUCUBEd39TOfYRkZdEqEB8cCAYVwJs+dejxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZBu3h28U; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-34d8f6cfe5bso5423716f8f.3; Wed, 15 May 2024 07:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715783509; x=1716388309; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3o07VRMVpwb16MqNXJLEDn9KQoBGTq/2iz5EAlrtis4=; b=ZBu3h28UN0nSHYu7B/gzdKS1mNE7I+OO8uPlCUyT7K0fwVbLDFVPRGerrinrHOFo1b bF1XSj27g9odVQCvdflRVjplhJfjH80V3025znOwsOS5sT/At1gKWPiDEWttZkPsOyP+ /XkbSY7o4WAGXFSrRBjQdQAbPtAt7HpU6pEjAxCgAGxBdylGyERnp66lLUgEV84XbILB k14UOt8q/grz0B6D4UE9wi7zLrN5gs1aegr8tCIscQk1x9vLxSa/EOrCiZvezg3LZAlE RIuPCV09ZczXh14e/V33GDNOlY6fZ6s7JwRxtPKDtgfowjhNGC4dp9xW2SV1zexFPyO9 5r9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715783509; x=1716388309; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3o07VRMVpwb16MqNXJLEDn9KQoBGTq/2iz5EAlrtis4=; b=WO2DWvJ0iG15YuPyZCkECxPTC3sJRX4BI0vWhk1/YmQlg3CNRokQlJx5m3qMQdqWrj 3z+e/zPfoqTZTIYA4hKOEfbLAhClnzB4M9eMMY7lOxbSt53ND/1wd99OvhItsVnZGgrI pKJvEI9KL8WCOYsWTUAl1s4ecXnVC5JONeGxcG6ScUhBeu6iRTwdNLszLwllsEQg/heS VK3N9bAM7LURYzI0Hm8b47K79vJXkRduSpUWPnTHHJ/gxgY0bjTk4ucNfA2pIuqQeugT TGSSx7MXuxqF3moPI6Twd9m243LqBLMieip6VOSDX0l9TF4yYQKNGtrfCiv20cU+evog rbsw== X-Forwarded-Encrypted: i=1; AJvYcCWh8jSafK5GtFv7M59CP5JGyOXeB6kC2SBI+8DNzJpHSVlp3SskFWwL9lykUgSNeSkdnphzyWM8svYwEZVe6rO89sT8EcQp//jXt0a1kdu2ZEIWZwbxj3x+vkBRmSikA0ctrY33Oa81DJYXeYaae9vcGbZrUdnB4/4su7nZfa5Cb2kjYCw= X-Gm-Message-State: AOJu0YyHRve0MUr0WkPV7iJebKZMa9L4nqWmXQwJMOrB/OQbUFFG/Q3p h+pXOrrEvlmgyWgCkL2bVUHFqmIWPy8Jp/I+YHd7+WN7vjIuGgdS X-Received: by 2002:a05:6000:d82:b0:351:bc37:c68d with SMTP id ffacd0b85a97d-351bc37c731mr6101727f8f.49.1715783508933; Wed, 15 May 2024 07:31:48 -0700 (PDT) Received: from localhost.localdomain (93-34-90-105.ip49.fastwebnet.it. [93.34.90.105]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3502b896a06sm16763660f8f.27.2024.05.15.07.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 07:31:48 -0700 (PDT) From: Christian Marangi To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jacek Anaszewski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi Subject: [PATCH 1/3] dt-bindings: leds-lp55xx: limit pwr-sel property to ti,lp8501 Date: Wed, 15 May 2024 16:31:26 +0200 Message-ID: <20240515143129.31557-1-ansuelsmth@gmail.com> 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 Content-Transfer-Encoding: 8bit pwr-sel property is specific to ti,lp8501, make it conditional of the related compatible. Signed-off-by: Christian Marangi --- .../devicetree/bindings/leds/leds-lp55xx.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml index e9d4514d0166..77828dedbb9f 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml @@ -151,6 +151,16 @@ patternProperties: $ref: /schemas/types.yaml#/definitions/string description: name of channel +if: + not: + properties: + compatible: + contains: + const: ti,lp8501 +then: + properties: + pwr-sel: false + required: - compatible - reg -- 2.43.0