From patchwork Mon Feb 6 09:26:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 53112 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2137926wrn; Mon, 6 Feb 2023 01:33:05 -0800 (PST) X-Google-Smtp-Source: AK7set9lsC0eCbDmEpwrtpciAgH4fKBbe312y45cYAr7uoNot5V80d3vLv4oyE3hXEL8gALp7MKb X-Received: by 2002:a05:6a20:8f06:b0:bf:c3c3:4a5f with SMTP id b6-20020a056a208f0600b000bfc3c34a5fmr11886890pzk.18.1675675985539; Mon, 06 Feb 2023 01:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675675985; cv=none; d=google.com; s=arc-20160816; b=ZwT6SZEEjmWKsD9i9FtASLGmreoyNE5s/mej26lXdfO+7d0upOQGP7qo29VvNjlCk4 yHRjXz2kQfaYp+q0qz+ykeWG2U3E8/8ew59sgXlKp5UM3MOKlPGs133SCwTiJU3DF0QP I8q8eK0f2zk7f6QkmeEa6j9NwmO5kpBDTkKHpcQicWjrJS0fa3MUUM7p1by7YQQOaxhz wniCcEyrQ4NTJ61079vPkebJGgwcQcOxJxChHKdD2oXs322gOUsSVrCgf+dCEmFiDAi/ pvNx80HopfkzrIpcvDGtMEmED1ltKuqzQ36A1Dn9rbTHhQSOEl+vE4LsDPB+b/MUVfe1 wdmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NltTiy8xn2JKwfiZaBO3T//bukmYqSDYuR6n40WhPpM=; b=YvSfVz/WWub1WO355Nwq7bf1+/J1iZkYorQHNJDacbPo500yQPv5vSodvmUewswtTs S7AUQNkH2RzT4axHKBgA78XrHw+Lhz1OVOTjvJRTO3o+wxX5zazVw7NFE8vb/zfY4fhs HRe27IPwY5pOec+8/V6yHupBcPeTIuRqPiTX+ZTal4FJXaSL9uE1tc4cOXSFrcNoeqlz 2IIjRyuBpCNJBOtgzaCzy46cWYdTNrchhOytq5b4vIU/SO/5QEINZ9VVrJ9ZPPgUClSp A5ShnZ4hWjBkNkMihR182RARZT4G/AeJA/0/bK9JNyyWaFPwbtBdVjpykmqtgvbtTO75 1GrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UfiPwjvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a637504000000b0047888d9f3aesi11299503pgc.547.2023.02.06.01.32.52; Mon, 06 Feb 2023 01:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UfiPwjvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbjBFJ1G (ORCPT + 99 others); Mon, 6 Feb 2023 04:27:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbjBFJ0v (ORCPT ); Mon, 6 Feb 2023 04:26:51 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7561EFFF for ; Mon, 6 Feb 2023 01:26:36 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id m16-20020a05600c3b1000b003dc4050c94aso8209991wms.4 for ; Mon, 06 Feb 2023 01:26:36 -0800 (PST) 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:subject:date :message-id:reply-to; bh=NltTiy8xn2JKwfiZaBO3T//bukmYqSDYuR6n40WhPpM=; b=UfiPwjvAoUzezhkip6mvvxbrXO30ukQZoogg8ATIDBoWsAg5A5bUPu83r7sz/Qnk0v 4nVbTC769OJUqg0vNK+qbmBNhb00gzTW2XjUmbjDwm4wPiwkASmCY1B3wtSq51sceN3I HBJV33GaNVCoahXuEl1tCXCs985CjTG6Pfgm2+wJt4VCTmVQR4STdPSIwgrPj3GY+rOq FGNilXgciFd/34mcEsh4gZ2ssVjVJ1gB2jx637dDjNmjACdAdIqqICba7FPzPzxOm/oP p8ZWXbJrCfabvZaQtwCY+dKBMvz77UbIr1N9nOvqdijx6vJPd0h92nnEt0lKT0T4DrgP Lr+A== 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 :subject:date:message-id:reply-to; bh=NltTiy8xn2JKwfiZaBO3T//bukmYqSDYuR6n40WhPpM=; b=15KPYrDAWvXSUt9AVbHlv2PkGQTsV4yzemxwfMKYFySnttImJXuMWcNqqhIKaBkDab bHE7tbEva/Xm/pM/AvxBt8ZoUWnPPl1XbH9Q+CgOBqVVgu4XQHcpw/llz1afOV5By/tO k2hMk9PA+P6PJcLnmICPjEyCX06LzOETNI7xIL1tqQ1p1nXjeffgNOIJO3WYKkOMqiCz qT6Bz2WJTM7AqukvKF7NUDBmtDYSNJnID40+rjA9s8Jn4FR8/hrCYiavXVrwqX2hFvdy x3QfyT6MEUf7JP77qvzf8GpubJxDq49gpDo083Veh+T/OLYYwom9U9tDUv13aS+dXNsm weSQ== X-Gm-Message-State: AO0yUKWqVo/Q58/em8HES9NEf39tIX+uyX2/9DM/rqvvST+DUSf3Ae0L CpzxLLRJOAVZRGxCim7NA/Q8XQ== X-Received: by 2002:a05:600c:3496:b0:3df:f3df:29b0 with SMTP id a22-20020a05600c349600b003dff3df29b0mr7027632wmq.14.1675675595281; Mon, 06 Feb 2023 01:26:35 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id m5-20020a7bcb85000000b003de8a1b06c0sm15722568wmi.7.2023.02.06.01.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 01:26:34 -0800 (PST) From: Krzysztof Kozlowski To: Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Greg Kroah-Hartman , Wim Van Sebroeck , Guenter Roeck , Marek Vasut , Lubomir Rintel , - , Marc Zyngier , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-serial@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski , Linus Walleij Subject: [PATCH v3 2/3] dt-bindings: reference MC peripheral properties in relevant devices Date: Mon, 6 Feb 2023 10:26:23 +0100 Message-Id: <20230206092624.22922-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230206092624.22922-1-krzysztof.kozlowski@linaro.org> References: <20230206092624.22922-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757073622108033356?= X-GMAIL-MSGID: =?utf-8?q?1757073622108033356?= Several devices can be attached to memory controllers (or memory-mapped buses), thus they can come with additional controller-specific properties, e.g. devices wired under Intel IXP4XX bus: cfi-flash, intel,ixp4xx-compact-flash, NS8250 serial and MAX6369 watchdog. Referencing Memory Controller or IXP4XX bus peripheral properties fixes few dtbs_check warnings like: intel-ixp42x-gateworks-gw2348.dtb: ide@1,0: Unevaluated properties are not allowed ('intel,ixp4xx-eb-ahb-split-transfers', 'intel,ixp4xx-eb-byte-access', ... ' were unexpected) Signed-off-by: Krzysztof Kozlowski Acked-by: Linus Walleij Acked-by: Damien Le Moal Acked-by: Greg Kroah-Hartman Reviewed-by: Miquel Raynal --- .../devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml | 1 + Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | 1 + Documentation/devicetree/bindings/serial/8250.yaml | 1 + Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml b/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml index 52e18600ecff..378692010c56 100644 --- a/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml +++ b/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml @@ -35,6 +35,7 @@ required: allOf: - $ref: pata-common.yaml# + - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml# unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml index 5df94953c34e..44cd4476d1d3 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml @@ -15,6 +15,7 @@ description: | allOf: - $ref: "mtd.yaml#" + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml index 2d0cac642427..4aeecd0abb68 100644 --- a/Documentation/devicetree/bindings/serial/8250.yaml +++ b/Documentation/devicetree/bindings/serial/8250.yaml @@ -11,6 +11,7 @@ maintainers: allOf: - $ref: serial.yaml# + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# - if: anyOf: - required: diff --git a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml index ab9641e845db..38079e1b6a44 100644 --- a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml +++ b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml @@ -8,6 +8,7 @@ title: Maxim 63xx Watchdog Timers allOf: - $ref: "watchdog.yaml#" + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# maintainers: - Marc Zyngier