From patchwork Mon Feb 26 07:37:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 776083 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.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 8AC762032A for ; Mon, 26 Feb 2024 07:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933041; cv=none; b=M4kRBqAOAe2iCq8awLXzMwvayzrU9T9d1Hs36Q+VScRUQk8aGDH8uhM31gSf/CziwtadQpI2uMqqWK4NR+8VbMJRt0RaVcw5ljxIVYKL+9UZaVNoL+o5PsGoAelL6GQ88tKptAQLL6YgCBQrm7Zn45nveHhLTB4GvRWZwizZF/I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933041; c=relaxed/simple; bh=+CPBBu9WyqTLEESsUyBowQXqNEsqLAta+C9KRApRjH8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tR/Ukafvn7CYT6RPWE2o7+kgDRJsPvZwqiqT9q8g0WKkk9pX/vQZIgTEFsJu1XVh28uJ9uwXD21i3JEufy3TXAcNY2Mf62ThDI8hbOpQlJG7Ns0quQJL4iIOqtzBKxX2K3Ugp9JUBqtBP06IOVpuL3R6pUiF59+oj2yVw/6E76M= 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=TSBoM3jT; arc=none smtp.client-ip=209.85.218.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TSBoM3jT" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a3d5e77cfbeso480074066b.0 for ; Sun, 25 Feb 2024 23:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708933038; x=1709537838; 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=f93rFz5E3AeU8cJwJga/R66WIzynOr8vsYGsktU0xqw=; b=TSBoM3jTIjO2dAEvEyGbji+B0VdHDuXUNxxtL3scDftfpm0xdqiTiGkHE2G0HGEHi9 zVQlaBquclIqrM1QXmQvA+Zo8QnDTrwwXDYl5yOeDZg7ByU87/FgINj91zSlZhxhC9bf pcdntgdIkk8w3w0CZvhXpW3U1FqBvjc2wqFEUtN1e8OX9Kdasf5LIruwUo1EH4DvhgLS U830juSl7dUdPveTO311aq2Nc/7jBgY9dEHf7Rh0lMrLoe9WK4YTZtEK3JZv3pRqCYIt lo1NvtKP8nthCDS/87mVNt1piq3kU/NcjSKBktAupN1CWdeTzU6UfJ+K+FI+VBxTEbQd pkpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708933038; x=1709537838; 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=f93rFz5E3AeU8cJwJga/R66WIzynOr8vsYGsktU0xqw=; b=s5XOaQ4pqpV+KUiLCmYKHD4HWyO7B0/31qbx+es5CdL8zhjXT0dxz7TkbP9vqwMIUj b5vAKfNinFP/xhdZc8D01ri0//eoly+YxTmbC31PFIc4n3CB4EWiXZ/LP6I9oV7SDd57 UtwxR40kdjwyl8m4A1uNi/xML03RijOFqnfdIbFl2A3Z7rc35hhQpwcHaLQqeDfxe5ZI nNiRbrSXmad/FTqZLtFUh9nQSd+FNpVukOXasGoU6qcwTtwPsj6aL6qira767Ru2v2kX QwAq+x/A5DbobsyvRUJR/pXDhGVMesymsQMfkJV0TepiYwSD1pHB7gs1deE6YA+MuNZA /9Hg== X-Forwarded-Encrypted: i=1; AJvYcCUk4/DG+FjBgWXFZrTSWDJi+moSYZkVIBMOnozGvgKdmmDhUZEr0JXEUSwt9dmXdyfUlA5H9oSaPtjhZMpKIsCHcAuf9E+PlIrLqg== X-Gm-Message-State: AOJu0YxGmxNOAs5OPBcT6Z4b8QfYQpMMc615FRS8CyZM+ZtQV5NGt2nV u9y6UU+0RtIjzifCJNGmMIE53e6ksvDZ2oBR6+CtRlOgmrNXmzPGK3GBJ7P6daw= X-Google-Smtp-Source: AGHT+IH8BkFJeP/UC99e0jX4wZGL1PJeUfLlzAWh6qlnYrXXQUFlZiCkpfV2Ek5S15L9cROt8UR4IQ== X-Received: by 2002:a17:907:1701:b0:a3f:365:2276 with SMTP id le1-20020a170907170100b00a3f03652276mr5277748ejc.34.1708933037889; Sun, 25 Feb 2024 23:37:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:37:17 -0800 (PST) From: Krzysztof Kozlowski To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: leds: qcom-lpg: Drop redundant qcom,pm8550-pwm in if:then: Date: Mon, 26 Feb 2024 08:37:12 +0100 Message-Id: <20240226073713.19045-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 "qcom,pm8550-pwm" is compatible with "qcom,pm8350c-pwm" (latter used as fallback), thus it is enough for the "if:then:" clause to check for the presence of the fallback "qcom,pm8350c-pwm". Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring Acked-by: Rob Herring --- Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 6649ca2ec805..699db7995dd5 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -141,13 +141,13 @@ allOf: maxItems: 1 nvmem-names: maxItems: 1 + - if: properties: compatible: contains: enum: - qcom,pm8350c-pwm - - qcom,pm8550-pwm then: properties: nvmem: