From nobody Sat Apr 11 00:46:02 2026 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 BD9F1C3F6B0 for ; Wed, 17 Aug 2022 14:23:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240111AbiHQOXA (ORCPT ); Wed, 17 Aug 2022 10:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234805AbiHQOWz (ORCPT ); Wed, 17 Aug 2022 10:22:55 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D47CB9080B for ; Wed, 17 Aug 2022 07:22:53 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id v2so19203592lfi.6 for ; Wed, 17 Aug 2022 07:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=9GC5bJ+m1U21wFCtiN8Hm7wauILLxWrJ9sFq+9fk+k0=; b=o8C3QM3Wu2kpOjLMF8uXobDHbQB4PKvFqLSry295hn20lPNVHWLgajWCgojrARkC5g BIIWNiFn4Xn9zHRsChY8osAeReyp7yCUDhjn8ahzlgy9LdImCgC1piAELmqnynX8qpG+ aguWks3BSQGJQWjVlESm9WpIlGYpXFgA2OW3XG7jKfYckz9TFxd6RC6qAylzC59zR3PW tadzknNyfsWjM4aVfqZcNKQk7J7sR5rSrjM3bzg0o7Foo3SLOpePtX9KNiTcB0/fE1ZM bUncQNm049DKkKoeeGL5L/jrEMK87k3L4c0u5PA6Hcf4zK8YY+oILzmGrEexxttqUXwm 1q2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=9GC5bJ+m1U21wFCtiN8Hm7wauILLxWrJ9sFq+9fk+k0=; b=nqvHsqJbwbQnIY3M3/6MPfx3nH89pS9toOFX3puwxHI5NX788mnkPrtvQVaEsrquzN TLakGxgtd9KRO6SdAGJId6DakY+7Bx4hEPSyO41rXDMwHAuv9xUS9mbZgjzRzOBCF63S Y4Tau4ANDdJIkE17N0klZZCYaD8KJFNN8Tcoc6Mey2147HROL7nY31JQqt+EdyecsF8j DLzvDiyD9wsn38s0/iizWJLNhPDtkmNrQQJDFw+TzVxr59JKtpB7thQqvvMcaBp1bsmy wS13RgqoogwTYoK9siCKLScd/LpDFE/7qiYTDClxQZywbSJS7MfW+CBqe4l+kUUzEXbh 3rXg== X-Gm-Message-State: ACgBeo3Za+oDeVdnVOhzVi1fBEmSWqax8Ns2zmmoTRNS2O+86XnKkbpS jwDBhvoIecToyf8NBDkjiio18A== X-Google-Smtp-Source: AA6agR5cywzI8moCKPQfkI/f7EQoEdiKTJvRfYGYEKNF0cQLrCqZdnncv8cDcoXap/UvaZ10NS79Jg== X-Received: by 2002:a05:6512:1584:b0:481:31e4:1489 with SMTP id bp4-20020a056512158400b0048131e41489mr8455124lfb.509.1660746171888; Wed, 17 Aug 2022 07:22:51 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id u1-20020ac258c1000000b0047f7722b73csm1704647lfo.142.2022.08.17.07.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:22:51 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Yu Chen , Binghui Wang , Kishon Vijay Abraham I , Vinod Koul , Mauro Carvalho Chehab , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] dt-bindings: phy: hisilicon,hi3660-usb3: simplify example Date: Wed, 17 Aug 2022 17:22:43 +0300 Message-Id: <20220817142246.828762-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> References: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" syscon and simple-mfd cannot be used without device specific compatible, so simplify the example to fix this. Signed-off-by: Krzysztof Kozlowski Acked-By: Vinod Koul Acked-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3660-usb3.yaml | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.ya= ml b/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml index c2e073e26190..20b79e2e8b82 100644 --- a/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml +++ b/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml @@ -41,20 +41,10 @@ additionalProperties: false =20 examples: - | - bus { - #address-cells =3D <2>; - #size-cells =3D <2>; - - usb3_otg_bc: usb3_otg_bc@ff200000 { - compatible =3D "syscon", "simple-mfd"; - reg =3D <0x0 0xff200000 0x0 0x1000>; - - usb-phy { - compatible =3D "hisilicon,hi3660-usb-phy"; - #phy-cells =3D <0>; - hisilicon,pericrg-syscon =3D <&crg_ctrl>; - hisilicon,pctrl-syscon =3D <&pctrl>; - hisilicon,eye-diagram-param =3D <0x22466e4>; - }; - }; + usb-phy { + compatible =3D "hisilicon,hi3660-usb-phy"; + #phy-cells =3D <0>; + hisilicon,pericrg-syscon =3D <&crg_ctrl>; + hisilicon,pctrl-syscon =3D <&pctrl>; + hisilicon,eye-diagram-param =3D <0x22466e4>; }; --=20 2.34.1 From nobody Sat Apr 11 00:46:02 2026 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 290F2C25B08 for ; Wed, 17 Aug 2022 14:23:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239933AbiHQOXH (ORCPT ); Wed, 17 Aug 2022 10:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240091AbiHQOW5 (ORCPT ); Wed, 17 Aug 2022 10:22:57 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601F99018E for ; Wed, 17 Aug 2022 07:22:55 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id e15so19260811lfs.0 for ; Wed, 17 Aug 2022 07:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=Ts76PcyKw0jM6XarGajWHwsIAiV4DTWPpPPo0AWZtJA=; b=JOJbWVLtHO6s9Pc8HcJChhshshhY2T/4/MCUDhf62a1FLjYupcZU4YieZWuff3QUQe Bmo0/osTc77ZNgs2QpSJ/S1IZwE0FFgGMork/YRXtt0HXbvNAc2oKtrarCpQcTHhRbBN D8qpKos+7Rlv+L1SnE5uF1nlfkG27KdJLiPgyDruh48s8nP7qfekstOKH4inFZUl4VnL fjNdITKaE2d8NE6egykSQK+x6FklOvlT/bKuSrN43tASRXm7eJwdrFK13Ut38I9Z8cBo MfL2onHGHoYx8kkYpPIA552aF+WAulZML5pi8jS7IuhYExm0MSnI1zqu2cX1RTLBa4Jp KPJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Ts76PcyKw0jM6XarGajWHwsIAiV4DTWPpPPo0AWZtJA=; b=ZV7wBHFNGMFygpmLFCLR147EDQzhOY7qB0540PMPoa1v7IuByEltqz9OCbeArTx8Du VUNVZafA91L0RmOyAPG2Cai8/OVx1WNkZFpb3JZFpbiPJnOsgMcwdwudgCnUNT3s7CDX I6VxC8Vm+gZne6glIt2UYEkQ7EXtEnoPF4P2DQzjJ2nZ/Jsq3TV5TWhP5dezvoWER2hs TOEwDKCKeXydRU7ycre0R9C0jopvQHq3yJx48sUAUmbZclRlcRAhCFseG/mOrlJsbfir zVok1+WFa8Zz09f0m1X2D/nI1/LU3yBz7nGhWfC2zT9WOsoOL22hQEbWtjN4QFY0DWxS o0Og== X-Gm-Message-State: ACgBeo34/rBR8xpeELwTV91bv+/+unP9pF/PrdeSH9eZr9Qrq5Wl7VGf JM0XTP5wlLajNQbm6EmiEez7GA== X-Google-Smtp-Source: AA6agR4qGhm3oKo5ILBcJJjEibUlASlIQgN2sJ66ZGB2EpL2gJQJVh0eh9J0qhasVYm0uW5uTG0XAA== X-Received: by 2002:a05:6512:ba4:b0:48a:f185:db17 with SMTP id b36-20020a0565120ba400b0048af185db17mr8107080lfv.107.1660746173606; Wed, 17 Aug 2022 07:22:53 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id u1-20020ac258c1000000b0047f7722b73csm1704647lfo.142.2022.08.17.07.22.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:22:53 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Yu Chen , Binghui Wang , Kishon Vijay Abraham I , Vinod Koul , Mauro Carvalho Chehab , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] dt-bindings: phy: hisilicon,hi3670-usb3: simplify example Date: Wed, 17 Aug 2022 17:22:44 +0300 Message-Id: <20220817142246.828762-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> References: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" syscon and simple-mfd cannot be used without device specific compatible, so simplify the example to fix this. Signed-off-by: Krzysztof Kozlowski Acked-By: Vinod Koul Acked-by: Mauro Carvalho Chehab --- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.ya= ml b/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml index ebd78acfe2de..1cb00dbcd4c5 100644 --- a/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml +++ b/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml @@ -52,22 +52,12 @@ additionalProperties: false =20 examples: - | - bus { - #address-cells =3D <2>; - #size-cells =3D <2>; - - usb3_otg_bc: usb3_otg_bc@ff200000 { - compatible =3D "syscon", "simple-mfd"; - reg =3D <0x0 0xff200000 0x0 0x1000>; - - usb_phy { - compatible =3D "hisilicon,hi3670-usb-phy"; - #phy-cells =3D <0>; - hisilicon,pericrg-syscon =3D <&crg_ctrl>; - hisilicon,pctrl-syscon =3D <&pctrl>; - hisilicon,sctrl-syscon =3D <&sctrl>; - hisilicon,eye-diagram-param =3D <0xfdfee4>; - hisilicon,tx-vboost-lvl =3D <0x5>; - }; - }; + usb-phy { + compatible =3D "hisilicon,hi3670-usb-phy"; + #phy-cells =3D <0>; + hisilicon,pericrg-syscon =3D <&crg_ctrl>; + hisilicon,pctrl-syscon =3D <&pctrl>; + hisilicon,sctrl-syscon =3D <&sctrl>; + hisilicon,eye-diagram-param =3D <0xfdfee4>; + hisilicon,tx-vboost-lvl =3D <0x5>; }; --=20 2.34.1 From nobody Sat Apr 11 00:46:02 2026 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 80F27C25B08 for ; Wed, 17 Aug 2022 14:23:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240123AbiHQOXI (ORCPT ); Wed, 17 Aug 2022 10:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240081AbiHQOW6 (ORCPT ); Wed, 17 Aug 2022 10:22:58 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30AFB901B1 for ; Wed, 17 Aug 2022 07:22:57 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id z25so19217916lfr.2 for ; Wed, 17 Aug 2022 07:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=RLFtxKe+OhZckW6UWUlO5nQyi+aAQydRisAUQ2pGnOo=; b=xqUTUYdhUtcYoktp6glAcArIaK4BJecsnSG+eYbnh+bBkTvA/igs7Cm3Y+DX06ff34 dH2MyV38XqULqXLco2U2xv1SzQW4kIGxdd6Yr5ndocQeuOPIdzCOBf+mPnKhaHhJIK7R v3C0R2bOJqjJkKxbVO32Fr0CR0uiyiiKpunD9GkSut+dTB8sN0z4eCurCYaFedel0QQJ bMAW+47BHd6JipjDY0MEgyU+Jwrpeu13lLdT1dDlYk2OqCyP/ImEgeXKNAxAJ2BCDm+L B98+zNRAbeao+uDz/LV3hmSOCH+zyLHlnA2HeDVdvtDl98Z2PCB2i5rqLz2dExWHwN2I ua2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=RLFtxKe+OhZckW6UWUlO5nQyi+aAQydRisAUQ2pGnOo=; b=VIL+0CWsTdtWbx+0qQOnq9x7SJIwgcVNmqKUPewE4BXJbs8vgV2Y9Fxgt2C+663UW1 n/tZdj8K2D4cq0RfMr8DSu6Cli4MLIkv0ORkhYKoihxdWhqFwfnYR+VWHOuZ87G2G9Ek TNmAs0tixmKIeXGR47asbQxw6kL64Wdjp5I1E/pUKQ5nGSeS9Qh8+16hMer03AwI69ff bVkuSyptV7MxIUKhND9wUa41XNw2tsTYxcCCgJfnIYhPL8HlWyOkeCm187NZy6olJ0i3 hj3C2LGoaJ9X84ugNroJZ6OIRT5syFB/zpQ8jiyUxVPTor5P5QnwWbYqMhZVFaWPnhyz Ft3w== X-Gm-Message-State: ACgBeo1b4nD7PV9xWRbMu14uvp0VQAA3StOCYERCX8qNc0Zgv0wxLcaO v6x7yJnZsolNlL/IrMug2aBOkw== X-Google-Smtp-Source: AA6agR59CBGcXaV0hie1fj1kHHlCqZogn30/K0KtyO73p7KQ0SRzgXOusSqZ3nNin28PDKqXiffn0Q== X-Received: by 2002:a05:6512:1045:b0:491:f371:ad5d with SMTP id c5-20020a056512104500b00491f371ad5dmr5839628lfb.425.1660746175435; Wed, 17 Aug 2022 07:22:55 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id u1-20020ac258c1000000b0047f7722b73csm1704647lfo.142.2022.08.17.07.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:22:55 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Yu Chen , Binghui Wang , Kishon Vijay Abraham I , Vinod Koul , Mauro Carvalho Chehab , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] dt-bindings: remoteproc: qcom,pil-info: add missing imem compatible Date: Wed, 17 Aug 2022 17:22:45 +0300 Message-Id: <20220817142246.828762-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> References: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" syscon and simple-mfd cannot be used without device specific compatible. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yam= l b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml index 9282837d64ba..a7711e3c998c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml @@ -30,7 +30,7 @@ additionalProperties: false examples: - | imem@146bf000 { - compatible =3D "syscon", "simple-mfd"; + compatible =3D "qcom,sdm630-imem", "syscon", "simple-mfd"; reg =3D <0x146bf000 0x1000>; =20 #address-cells =3D <1>; --=20 2.34.1 From nobody Sat Apr 11 00:46:02 2026 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 BB114C25B08 for ; Wed, 17 Aug 2022 14:23:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240134AbiHQOXL (ORCPT ); Wed, 17 Aug 2022 10:23:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiHQOXA (ORCPT ); Wed, 17 Aug 2022 10:23:00 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E33B89019E for ; Wed, 17 Aug 2022 07:22:58 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id a9so19175364lfm.12 for ; Wed, 17 Aug 2022 07:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=VObf1U/N8UHUESYSVlFmc9b7qCeolOROsEojZwgQxXU=; b=gVYndhUj31KN6r5OGRirSYpbDRRhAzMsEQzf9mMnWgzmNuzNcli4K+E1Xc4KsS1oR6 hwsEy+wxkgcFZXcUT6AnDAK2C2LVRwZNKkRp4H4ElXUXRSZUhLdykBiZ858usfzjH6Go NrtIgW7CdarA78voMkYhI6P3hDicr8CtfQ6kQAztgLXAb74ooy7mqpaQiy7mClKVA5Om MBd/Ofq48h0KxS5Sa0GP9Mh1YJTXUy1+2Ie5j/Ytov0+A057ulaYiYu+3du9Qn0tmUuI yvY+ovsOM1vDhUc9mNrnVCuBgdEHa3x5ZIBqWd8RUvRU1UyvNpsbnc1AbaNKT1kTKDzL 6I0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=VObf1U/N8UHUESYSVlFmc9b7qCeolOROsEojZwgQxXU=; b=z5Lm2AB5wuP3KBJlRj+DuPGjA6GcUYVNA0klf/cxKDKUKHIjAvdR7qDABf9YEv3wsc V2FM9bueHZA25qjXWoW1GoVCKLEhnW4ydyGIhFYffXUOUvaOg3HqRbRNcuEE/HB1sRuF Vhtn6o0CGc0Q8LoSA0QzESYYs0f5oMX5LAq3VCfwupj9e7vNo1pa0pUjzRmIrbV2OZ6B iwXjUTHuISpqpYoE+hQ9lMZJKHOSLg/U9tFgztFJkYWb6sWF0shpnSNcW9FI26OZ81yS yMEPvnWSzqX0a7Iv0VFj5gRCtNxA9+T3Ewzat/mBuoDjmVLLBxiQNLLdefGbBGNXBFH4 5lQw== X-Gm-Message-State: ACgBeo2S+7Ftum1+T711M8VC+bFQ75deIwtNZFCf9NNR/M0z9t3oF8kC tOYjw5W7uKkN+Uaym/TaRPkyIA== X-Google-Smtp-Source: AA6agR5kuEiHgb92CIQVal7Vbgb0X96KkKeqdicRbNROnlHSGkaMem5bDkh4iEDOZ9FGxCYJe8GORA== X-Received: by 2002:ac2:55a7:0:b0:48a:ec71:1e4e with SMTP id y7-20020ac255a7000000b0048aec711e4emr8046413lfg.262.1660746177155; Wed, 17 Aug 2022 07:22:57 -0700 (PDT) Received: from krzk-bin.. (d15l54h48cw7vbh-qr4-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1b1c:14b7:109b:ed76]) by smtp.gmail.com with ESMTPSA id u1-20020ac258c1000000b0047f7722b73csm1704647lfo.142.2022.08.17.07.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:22:56 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Yu Chen , Binghui Wang , Kishon Vijay Abraham I , Vinod Koul , Mauro Carvalho Chehab , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] dt-bindings: mfd: syscon: require specific compatible also for simple-mfd Date: Wed, 17 Aug 2022 17:22:46 +0300 Message-Id: <20220817142246.828762-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> References: <20220817142246.828762-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The syscon bindings require a device specific compatible, beside the "syscon". However schema counts "simple-mfd" as such, which allows simple-mfd+syscon to sneak in. Adjust the match to be sure simple-mfd also comes with a device specific compatible. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/syscon.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentat= ion/devicetree/bindings/mfd/syscon.yaml index c958086a5fc3..a64c7a71e6fe 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -72,7 +72,7 @@ properties: - contains: const: syscon minItems: 2 - maxItems: 4 # Should be enough + maxItems: 5 # Should be enough =20 reg: maxItems: 1 @@ -93,6 +93,18 @@ required: - compatible - reg =20 +allOf: + - if: + properties: + compatible: + contains: + const: simple-mfd + then: + properties: + compatible: + minItems: 3 + maxItems: 5 + additionalProperties: true =20 examples: --=20 2.34.1