From patchwork Thu Sep 8 08:07:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 603925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 954FAC38145 for ; Thu, 8 Sep 2022 08:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230109AbiIHIHM (ORCPT ); Thu, 8 Sep 2022 04:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbiIHIHL (ORCPT ); Thu, 8 Sep 2022 04:07:11 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C983CD2771 for ; Thu, 8 Sep 2022 01:07:09 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id q21so12197636lfo.0 for ; Thu, 08 Sep 2022 01:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=JIBPCNWbj9cecXNvDfnBoFCAPIFUTWEJI8WrfdBbKVU=; b=snZdPWqtr2eMuQRIlgwO7pqW5RS7DVletpBtdbQ/AOgKqBNLimr4sr73NibaKOKnHT lFg1q0Tg2aW1uv1vkfG7wwlfhGz5usjBJG46KkP7NjFYyRnryPl1U/853K28tinaSjCL XlakPQUFXSmI/ZtFkVJOk4UfKTwpulQp/QWY15oXeAqLzNu31C41fYiXotrJzG7JACbx G4LVSTXOroy+rBBH4+DtHw+XieEsQCFo0rjWT/6HAn4HI1XMQfGrY1i+ZLnmfkE0Ily/ stvpQ/eNhZZtHhhdqb3oYirg8Ka2F6x+Z6Y8IOnNVTlsDSgOFbY022xo+8t43pbUio8C ndvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=JIBPCNWbj9cecXNvDfnBoFCAPIFUTWEJI8WrfdBbKVU=; b=VTCZsFE09WLd+djS5N+/Gx5ACo5i2p5JjnUMSHv31TmebNvpHLmvZG/4ucoJfSBizo aattbHf/HZBX0nrZwUO51WNQmJHcIklbuOIy73+1GU/4DUQk8gbqM/VZBcW3Tkon3rje fQgNwIrU8l9nAszA0QfOm6lZyD3nR7ERxBZsBeS/Lt6DMl0enJ6yzp2OTnr0cTE/mm4+ 0AwLeUBfE9apGNh86u0KLOtPEmeNWSNDG/x8ZIew/9z9oBR3uQLJKbXLP5+Et9uN7//b vtpbAeOIVD4fqh8eWqE2Fsu9I+SQvGkvS16y26/VDu3/MvdK4AURky2JH/wRRjFc0jHX T90g== X-Gm-Message-State: ACgBeo2htxhhyTUnSFxenAbedc6Sp2+v+aA5OtrxE0L+P0C0HbgHGm+r jzPU1ieM2/cd7a+1LUTr1n+voQ== X-Google-Smtp-Source: AA6agR6bi61JlNKPmLVRo+JBbKRF4+ff8UPjrT51MF24gA/paG6mogNY3pKdrlEwgKZdQwtOqarzdQ== X-Received: by 2002:a05:6512:1285:b0:494:680f:390f with SMTP id u5-20020a056512128500b00494680f390fmr2230044lfs.601.1662624428165; Thu, 08 Sep 2022 01:07:08 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id n27-20020a05651203fb00b0048a757d1303sm2920503lfq.217.2022.09.08.01.07.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 01:07:07 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: pinctrl: qcom,pmic-mpp: make compatible fallbacks specific Date: Thu, 8 Sep 2022 10:07:03 +0200 Message-Id: <20220908080703.28643-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Instead of allowing compatibles followed by any fallback (for SPMI or SSBI PMICs), make the list specific. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml index df79274d0ec3..72cce38bc1ce 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml @@ -15,28 +15,29 @@ description: properties: compatible: - items: - - enum: - - qcom,pm8018-mpp - - qcom,pm8019-mpp - - qcom,pm8038-mpp - - qcom,pm8058-mpp - - qcom,pm8226-mpp - - qcom,pm8821-mpp - - qcom,pm8841-mpp - - qcom,pm8916-mpp - - qcom,pm8917-mpp - - qcom,pm8921-mpp - - qcom,pm8941-mpp - - qcom,pm8950-mpp - - qcom,pmi8950-mpp - - qcom,pm8994-mpp - - qcom,pma8084-mpp - - qcom,pmi8994-mpp - - - enum: - - qcom,spmi-mpp - - qcom,ssbi-mpp + oneOf: + - items: + - enum: + - qcom,pm8019-mpp + - qcom,pm8226-mpp + - qcom,pm8841-mpp + - qcom,pm8916-mpp + - qcom,pm8941-mpp + - qcom,pm8950-mpp + - qcom,pmi8950-mpp + - qcom,pm8994-mpp + - qcom,pma8084-mpp + - qcom,pmi8994-mpp + - const: qcom,spmi-mpp + - items: + - enum: + - qcom,pm8018-mpp + - qcom,pm8038-mpp + - qcom,pm8058-mpp + - qcom,pm8821-mpp + - qcom,pm8917-mpp + - qcom,pm8921-mpp + - const: qcom,ssbi-mpp reg: maxItems: 1