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: 206319 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1920997dyb; Sun, 25 Feb 2024 23:41:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWjwZwpZGQBMs11dLsa1302rw2avDoxv5TyuChNYoSwrwdizI5Uuitbz8rZsFMs9xYvSxrBpuLs7gBBLdJfQVRnWv+87w== X-Google-Smtp-Source: AGHT+IFY1vqZx2ew543PcqBd+4rm/WWE3DEwQm43o+J9B3LUmZ+raFN0fAki7PKip8XKdr/Kr07k X-Received: by 2002:a17:906:c57:b0:a43:515f:2cad with SMTP id t23-20020a1709060c5700b00a43515f2cadmr1449633ejf.10.1708933306568; Sun, 25 Feb 2024 23:41:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933306; cv=pass; d=google.com; s=arc-20160816; b=M4MWX6raDpaFNeHfl5HckRi7+CKttL2JXN7bUKf246XEhZBYcZTNE/Eo/m81ayG6Zs bA4tPEbGqu54DW3yh7yXPLDicS+YEEPZdgGsz06HhiE2RrUZ5+bbQiRhoHe6iqPK9Zs9 hOSnU3rgN4F6qVBRZWxzOkJna7wshgGtqdkc/reRI6htKU7ssunTLaQ1FbugaHnsjYL9 sd46XMSyUONNDOHyLmcxAN8VehbAQmNizj0zZP54/o8AQhK4zGyFO+lFmFAlrWqqkoP/ 4/RnY6hYz2vtNc8OgQW0pSeZTWWdC4us4fgrwOyNJ8GZ0GTGESnDEEvOjm0THdz8PoWB FMjA== 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=f93rFz5E3AeU8cJwJga/R66WIzynOr8vsYGsktU0xqw=; fh=J3cegwHiqaOa0ctl5olVO8l9bfldh/26guLUyPjx1xQ=; b=CY2eAlS0iXhC1aO056zPzmZl5z7HHW61vFoH9lFDMuAT4JCifLkdB/vcaSv6QPNUQZ FAa6hCQFLGx6fIwg2APRmmcLGrcG6V1/fVLSSYmGTmXDAWKAs9gY8znj0jQDs+sI1IIx 3gjOwiEN8z7aCPfNTX/hV6GJgXwfczHcIjxGn31VPqgxCFJZIHU43VyUdEy1DciQUDVe zXt4vIY5lRWAarsE6oX1X8WluE7TiYU4L2kPUXBYUsySWz+KGylBjQ5Jya/MngzVI0rx SBwNudx9fkP+mXZaTf18w4qDeCnjCwcgDyCw+Grt8IksyBiR6keW6nj19NYqY+NDuGMR uuHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TSBoM3jT; 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-80680-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80680-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f12-20020a170906084c00b00a3e5117072bsi1839313ejd.486.2024.02.25.23.41.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:41:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80680-ouuuleilei=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=@linaro.org header.s=google header.b=TSBoM3jT; 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-80680-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80680-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 307741F210BC for ; Mon, 26 Feb 2024 07:41:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E468B219ED; Mon, 26 Feb 2024 07:37:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TSBoM3jT" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 9C4AA20337 for ; Mon, 26 Feb 2024 07:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933042; cv=none; b=CbQYuKG1LTFrZPM9zFjbX5AxrdUS5soldskDDVc5qo56IGROoFz20tABsuLZPzKfpGQQHwN5GbXgS/JWu/OyZ1BmAR0HhHJqYvAoTxD7KWFLEyJQePo8kwf2ZhtVtHobJsCHrFpFkb7HmliGELDPuSA7wSUXH/fC6qusrBd+0pY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933042; c=relaxed/simple; bh=+CPBBu9WyqTLEESsUyBowQXqNEsqLAta+C9KRApRjH8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=icYDgMEX98lJCfcfjhlTNxDKXJKkid/0jAox2bQqC3QaeGEvXvqM2u44dTNFxnMkNMohnaXlz8O+wyjW4ozZj5idEd2y/dZ+Kug7XCzRgnDp/izKpOx1gePllBi24cY07UsuOS/wFr/g7TAOqvNbjPf1P0NMRoBv07y9DkLf2a0= 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.208.52 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-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so1650142a12.1 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=h+shvrfB1OjgVKa7lGk81t/MDboatmemQvpiMvT3mPDCPrhNQy9x4uC7telpUNmJzx xZRZEDzuZob9woO2kgYdATrWeznNjjjms7wuQlVh4a1tR1L2jZISnFGUBFruJEm09aj8 v1pBJVEyNC+Tb7lHjaou+xN4vz5m7ebZRx5DgAydnlAa9d0+gH2dkbd8GMTg3R3nGGux WapKItS38l1d3OE8f+m4rIRakV0FT5BxnzcdKWj/PBF02O3zF73V4jyB+4tSb5iYMeY9 qWdrA4Dqfmw0b+xeu2RYBu8XCxczLY6anCizlQlZ/bcmiyzsp93ONvsKyuwov1nbXe9F OnUA== X-Forwarded-Encrypted: i=1; AJvYcCVFTd5CduX0L/Bu7VmUebzk5jMlWmvZF6m7AVwHO99tJwTJxuGSz7P5uXav7T/fz7gy72VbIxSPJxpY4WWF5BbH/JW2UC7/XnmgdKGF X-Gm-Message-State: AOJu0YxGu8W6QjuxhU7fDDQqhBmhUfGo0s/v+JxgeGYrebLf3rUHUray G55hhSfrRgVPEP4DoIswpLlwkbcpWrSddaIK0miSAjACqLx+HPv9hfdh7eB8hyA= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791946451110673970 X-GMAIL-MSGID: 1791946451110673970 "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 --- 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: