Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp837567lqb; Wed, 29 May 2024 11:59:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMQkIsK0KosSw6/2q6VqiLjjQ0anM62x3e1U82h9ZuIL0nbBBfSOEbDLlbIqiagw8CIuGrykVDQeUvy2ddus+/sbOR0rlmGMng61OkvQ== X-Google-Smtp-Source: AGHT+IGEzIUGjHmGwoMk/VIP7Tc7iOaXgbaLkmOyh1KgELkxOaQMP5R/qKDUp82DaH0Ltrl44yae X-Received: by 2002:a17:90a:c290:b0:2c0:17b4:858c with SMTP id 98e67ed59e1d1-2c017b48783mr5011728a91.43.1717009164472; Wed, 29 May 2024 11:59:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717009164; cv=pass; d=google.com; s=arc-20160816; b=rpvnIW3jIk3frEcoKoLXro7lhJfzChSmd3dKV7XDd9lVpZq+4ak+D7D8UNUgfrVi/0 p8CZSJh+AFiIQJZ4b4S2zPWmOPF5kjaUw3mRIc8siWeEhG987g8/2NmEH9zL3u4abVlL EVCsBwXQzdObRPFy6OHEELsX4aLI9DXM0wsPDC1VooeFd69HVGShsLlsIwk7Pf+9VyAQ yTRYfoaXTjLScywiMlvLibUZYzcOfstlroOnSPwjLWncFN5mRtXrY08tASoKO9uBQLlD Sy/DFBQjJSmLrhJGthtQm3lHDu5Nc+CscC2F9sVuO2kBbGtTDqzCGiBCmxzY8n71IggR hYYA== 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=FqbOftymuJZXxV4IxHBqDJd32xD2wTJjXnpBj9fmizg=; fh=phiVznuJNoEWD+GLYcwJESOdlZzZj+NLH5DH7eSgPEk=; b=rivdCldTwRI7/AMC3Qadm53IlnLoer+ULbkoSTyFlCnQsuoFJbEWpWGMwlhjEI8wZf L7F8Xo5i+D969kJENJDWnTl6aN2byFJMls77JG5dSZypUDpwi3DmkkHciaL+0d8C65qi KkvAirpitTlNIWQaRPFapndgcL1vIpOXXoTdTDrBVf2E4NBLAjeAylNoUCvkFrZXbX9w PWn9qBeD4bp37IaejsKZfdL0a2L9Kigs1IeEVwHPqHQmYSrscNZ3LhiJq6+muRPSQahQ 3ge0sgV3yOWvQV2idze6N3NKoyAqKsmyhUGtF3b9IxsnP1g0N/aAcvnfCPrBuSCOfvdj 1rtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CBXp68ye; 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-194594-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1a77ad727si149609a91.180.2024.05.29.11.59.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 11:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194594-linux.lists.archive=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=@gmail.com header.s=20230601 header.b=CBXp68ye; 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-194594-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194594-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 21C16286EAD for ; Wed, 29 May 2024 18:59:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97D161C2316; Wed, 29 May 2024 18:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CBXp68ye" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.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 4D8A6181CE2; Wed, 29 May 2024 18:59:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717009157; cv=none; b=JIjeuo4+DMRHmEk++xoTJQZAb349FVMhtgQ6fjcJckMzMr6zeJriSQcMgNPQVXE5cjn+gMizbLFfhqnBcJJgTrWspdyNCBQNu4DyOkeIMyji1Y2k8hzwQo7lGAyvkwKwqfn9TxnhGgnL4Qd08KYykNWwAKpY0NjX5VG862f06C8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717009157; c=relaxed/simple; bh=zmlEeR9fqWoZOWgKSIAR0BnYHc5xX8dghAkYYfuCWLQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BCuc8r4ENiyGCxFLCCuy4wxGSRc1n7F/hrn3Cj2Z0QHAwmLNzq73vRVXfJS1r7v43alAIiSQ4mXR6BTrXy6heoreS7O7jITMuaSl4txXApkJDIh9lKeCyXKXpSruT1xhXW1y4GKmbCwjIvunDxvK0Lh1Il8/6kyPE0JlnSFFKeM= 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=CBXp68ye; arc=none smtp.client-ip=209.85.128.48 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-wm1-f48.google.com with SMTP id 5b1f17b1804b1-42108856c33so1715395e9.1; Wed, 29 May 2024 11:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717009155; x=1717613955; 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=FqbOftymuJZXxV4IxHBqDJd32xD2wTJjXnpBj9fmizg=; b=CBXp68ye26i/duNQ+eu3esOiDGOj3FNn48aiB3h2P7fsCZxM9f/8PQ/5Kf2XWtD6fY ZJQMBY5xRenT7W6Yi1VURupt5FDnIt/RMWRIY2HKTslyAiYdV78Xzgjx5x928lOh0xCp ysmLtgGICavtegmiLevwvw1Os3dSu/Of/n+LFTqWd6NIEL56zE6iGy4jTv52uSdPvHZH qZFJ2dfbUMT35p0+RTNufiHYicugSimbqSAizsznhdhssWXrKaj7eA5i4klpIRFY5IWj qOIQYn+aPED36GqaqQwyyHnW0QmDVvwVSjbcdt3iLXCLAAJMKKiSr8hoy9MeKi6gUicd kSTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717009155; x=1717613955; 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=FqbOftymuJZXxV4IxHBqDJd32xD2wTJjXnpBj9fmizg=; b=VufOoVvvjbKG8OyEgqhJ4dpZZeNg1am+vDsy/pFiRN62GVIh5qDE1Gfh2PiEw1y5Pb NpG/xEEKXtJwtyyENukTXQgMpz1GmKLYN6Gg6k0ymevI6xnH0bjaZJo19adbf6OZ3Mjq GiWVB2M4UqnB5t8dNYA44xmSNCI+3iMfKr1IDyHgis8E5oHVDMiTM+nymW0hO2eSQrNH OJdJIx6fjf+Wp4L2KJJGttZQ8psVpcMyHbc8ijO82XlyggrD5egBzAZRMJrv/jCxf8r9 s6kPYQ5rw84pXb2CM4z7r3lfss1HrKcgYWRsORCYT74AwPkiTq7kGcUUZsEovfveAcHf 1q1Q== X-Forwarded-Encrypted: i=1; AJvYcCUqT1vEYt+IcfhTKk7t63h7YIKnUf7DgUMOTMdlhG3hczCYH24PDMZAcmb2xnwT+brHWmhQDhLHCi6YfPSvLF1Aa6lu7oXd2i572YW6KoXUTFpOs0cCVAzKRpdIWWQKUqO8Qn2D8tbdaKsKtrY1RMVgB5WBfiI+gtEpc0OTl8m0eAmpcuU= X-Gm-Message-State: AOJu0Yw5VV9oVE00av7uc+FswUXJ3EUij07a7Na0l4zt03TDSTOO5hHC VRSom3AjXy8eVdlh3SKXm/0/Hfh18XwITje+dWRO5RG5+o6RbME9 X-Received: by 2002:a5d:68d0:0:b0:34d:b0bf:f1b5 with SMTP id ffacd0b85a97d-35c7c6988c7mr2302699f8f.35.1717009154370; Wed, 29 May 2024 11:59:14 -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-3557a0931c9sm15442206f8f.65.2024.05.29.11.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 11:59:14 -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 v4 1/3] dt-bindings: leds-lp55xx: limit pwr-sel property to ti,lp8501 Date: Wed, 29 May 2024 20:59:00 +0200 Message-ID: <20240529185904.1448-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 Acked-by: Rob Herring (Arm) --- v3: - Add ACK tag .../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