From nobody Sun Jun 28 10:43:21 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 4567EC433F5 for ; Tue, 8 Feb 2022 19:41:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353812AbiBHTle (ORCPT ); Tue, 8 Feb 2022 14:41:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353806AbiBHTlb (ORCPT ); Tue, 8 Feb 2022 14:41:31 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FF72C0612B8 for ; Tue, 8 Feb 2022 11:41:30 -0800 (PST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B86D23F1F0 for ; Tue, 8 Feb 2022 19:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644349282; bh=IBoZSDY+vh3MSwNsW1pxD5jmNE6UjfMq9hfqIrcXwOQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=K8L1CWA6+gQrk0r2BPB6naeEEC/px6HGeoPbk7cT9kbJS0aSaj2URSSPphSner+Fb 3wvHQxxCehPuZrpt9wnDXYama7HvoKVkwQOQtgTDr7defUeSnkOQSwK+DmptjJMomS 4PomZ6ZSyK4K4B/I4JVo/m8jXu4We4jUpPhuEEXVGHQVmwg7O4b34caE57woLgOKhj +aEEw2JPgEIHdAJBAWxycfPcmgUIYnmiK3AW+nHm6mwp8tPSkGors4ei/JTcmGiqVc kgMjGXPnpLZLN4k2mjkTQZOQK/xlP/BhvnbyYCWaT/qvgpMlnc0/mxuPBhLtz/nYXb 7EBCmzv+fBLqQ== Received: by mail-ej1-f71.google.com with SMTP id z26-20020a1709067e5a00b006cbe0628826so112726ejr.10 for ; Tue, 08 Feb 2022 11:41:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IBoZSDY+vh3MSwNsW1pxD5jmNE6UjfMq9hfqIrcXwOQ=; b=bxREl6d4jcuUxEtQNPEXi6g8mQjhh8qmQXe2WKFSOV2KwxvSDn5AvTJkEeG2o9JoSd dDIgBo7NTsSGtrPlyAmwmAzjcUc+PoG04CQiKOXzJdrU60C5LMolMXE+slIVnDS8ctYj 8RWjQvdLafqfPqaRAHOZYQcBoSakS1fCc/Oc8tkfo+CCIgVdEuFxbChe2z49VaG0EpvQ taDQpqyke+MNMvgSvjuuaziicy6Ku4pSsB8NvmYACTDh30TenN+goLjl0zbVU2C+6iXS Ik/L9TGsMM9V5lVi3YNztH8gkBkkVgEzZVOlcYV+D/E3B8eev7ODG+g9xKUCuIITHHm3 zTkQ== X-Gm-Message-State: AOAM533/yeFAVS4dMbFqw746DnBDnoKSjrMx63BYwK8PGvKciJxaaKJY BF0yxBzpWSe/pKjkzyET1cuN9kixZYjN0iHAk3mmUnELAH82TOckys0RMBz3VZg0B5FilooeJwn FQYjiM9xMSvrdgGnUU8kqBnZbcY7QAti5VCm/GDvKdQ== X-Received: by 2002:a17:907:16a6:: with SMTP id hc38mr5142712ejc.291.1644349282205; Tue, 08 Feb 2022 11:41:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn9tSy823egnQ7yz9s8CuvfmblkNP8GroHvwF86v5BwqvI6RsmXBhjnUpUe0Qp6ywDYxQrXQ== X-Received: by 2002:a17:907:16a6:: with SMTP id hc38mr5142696ejc.291.1644349282019; Tue, 08 Feb 2022 11:41:22 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id k22sm3887085ejr.211.2022.02.08.11.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 11:41:21 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Sam Protsenko , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: soc: samsung: usi: refer to dtschema for children Date: Tue, 8 Feb 2022 20:41:19 +0100 Message-Id: <20220208194119.46022-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 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" Explicitly reference the dtschema for USI children implementing specific serial protocol (I2C, SPI, UART). The SPI schema is not yet accepted, so it will be provided later. Signed-off-by: Krzysztof Kozlowski --- .../bindings/soc/samsung/exynos-usi.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml = b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml index 58f2e9d8bb0e..f3aae7e0e2e6 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml @@ -18,11 +18,7 @@ description: | selects which particular function will be used. =20 Refer to next bindings documentation for information on protocol subnode= s that - can exist under USI node: - - [1] Documentation/devicetree/bindings/serial/samsung_uart.yaml - [2] Documentation/devicetree/bindings/i2c/i2c-exynos5.txt - [3] Documentation/devicetree/bindings/spi/spi-samsung.txt + can exist under USI node. =20 properties: $nodename: @@ -75,10 +71,17 @@ properties: This property is optional. =20 patternProperties: - # All other properties should be child nodes - "^(serial|spi|i2c)@[0-9a-f]+$": + "^i2c@[0-9a-f]+$": + $ref: /schemas/i2c/i2c-exynos5.yaml + description: Child node describing underlying I2C + + "^serial@[0-9a-f]+$": + $ref: /schemas/serial/samsung_uart.yaml + description: Child node describing underlying UART/serial + + "^spi@[0-9a-f]+$": type: object - description: Child node describing underlying USI serial protocol + description: Child node describing underlying SPI =20 required: - compatible --=20 2.32.0