Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5968749pxb; Mon, 14 Feb 2022 11:58:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFOZzVGYgywwiZjAgUuQwU0s5GmwJrtlE/OMXW90WH841H8ABHmWDVPyWa1MnKYCzryw6t X-Received: by 2002:a17:90a:4306:b0:1b9:80b3:7a3d with SMTP id q6-20020a17090a430600b001b980b37a3dmr374377pjg.66.1644868686961; Mon, 14 Feb 2022 11:58:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644868686; cv=none; d=google.com; s=arc-20160816; b=xRro5ZS/iIEA/fBxAYaUxxHhQ/l0Hr3HSvYtFtXCeTpEclaEN5QRgH4f5+ZztMWB1K mB9znTJ4Slp0JI8GC287qs7kEn8oIOMp97sCOP6uPZc08rpOOcCo9XIegmo6M07EDN8s pPxhsKVazLeqZaFcupp6NztktvGvaTskMy7VDftOBfIFQSFiOqfom1muJtpMrs5Ry1+7 oM49ys8a+yZE8qx7p/Y5Z6MRcYObWz1lEovV+VBHZV8AGsYXAeoFdtC6TMuaPjvdQukG yoRS380d/y6ItxNMP1Ho7SjbZ5NmCuRRdkiETQL/8EFRnIfHfTM+dqhQwsyu1SRG4p0E Asjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2177MDBPIZL1asiHVf/tsGcpg3hhljXk+Tm8j7/No3k=; b=C/hgPUvJPDRp1Clg5Bl8Pwd5Hz2rJcenkoHIZSiF7RC8MXv5OUTz7cCELV9gY8oYO9 mXBxR+1HkOA+hOsy2I72YgDPD32QKxwEIF1XxqX7GHXgyAjnp2Tz5zEiO1CxHvko6hET Ij2BYnQwwvof5XsETt+Rpuzwj4HT9H6YPxunEkXOM70+O8ExRPeFgGdxHEpdQjEtiEhq mQn+DnE19ZS93Brpl3NLGnydbwcPuHLIa7p0RboZp3uXnCbeg5ASMVZ51+pYbeanuaNC wckoMts0dUpEML4OT9HlIYwLqT7zApaab3KXgIo4mIFxZhrnXvSXLleuuF+0MAwkf3Vp IAYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sA4/Wf+0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i64si613559pge.61.2022.02.14.11.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 11:58:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sA4/Wf+0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 03D1413AA1F; Mon, 14 Feb 2022 11:39:26 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349882AbiBKQEZ (ORCPT + 93 others); Fri, 11 Feb 2022 11:04:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349786AbiBKQEX (ORCPT ); Fri, 11 Feb 2022 11:04:23 -0500 Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607021A8 for ; Fri, 11 Feb 2022 08:04:20 -0800 (PST) Received: by mail-vs1-xe2b.google.com with SMTP id g10so10819924vss.1 for ; Fri, 11 Feb 2022 08:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2177MDBPIZL1asiHVf/tsGcpg3hhljXk+Tm8j7/No3k=; b=sA4/Wf+0wntyZPQ6IiqwzByik6CHGmnB7P2zQ8y8/xKYxL226mqIzNt4u7P56H4KIw I3cuY8rCvRlQCeEXc68tbz9TzLj3ZbPH/fUQXnAROZzhEuWOyBd7VtG8AsHR0rAPZ+JT Ngh/w4wAST9XeVQkPNeoMu4FiOQ89EH7W2oUZdA1Ce+iBw9qLOKVZBjEfteK7I1YjUQ5 asTzjX2XTf8NG3mJpGQOdbCz+5SXw3h6Mor50ul3uOyqdm0nfK+wWbEt6TJlEKHF4dR/ e6pop0pJpiX5Nv82BkrMTivpZUdt5plBXCg9L+inBFXHCFDXaXvrRNkig7q2nlXw7tVI bxYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2177MDBPIZL1asiHVf/tsGcpg3hhljXk+Tm8j7/No3k=; b=cvO7oMct6kOl7afzu83dpOq9KdiODXDya7WKUwmwTxG54ZPfuzeIwrrfaMA+2fVbYl V31SRfvidbZ2qDjjV03KzH0WU3kvhVw/0Sf089arEEKjvkkxloA+FKp9MAdMWkessG1M m1gMN3+F4ah+ynzcoUtOifZFPkLXXGAxXUcRgUzw4rcK0mPYvS1Ga79vZ6ByKues406W dM22qOcJQgI0Xw0wqGb7bRimFSkRlYBsbdhjb2i4P+2jG8st0RRBeQu6QDKgdAx+TnNG o0o2zWHQlncjtIM74j5yPGEo3fnnOrhs3EeHQfyPeSJEBHiOpZNXVnbGr1od6GtV6+O9 sxnw== X-Gm-Message-State: AOAM531UAkcA6szd7J3homwryHSJZ+XYVsJYuAOdqn1bUj4MOZXchT3K Th3qvyZddF6wGL1aIAk2sZykhlE+ATM3DA5E5XWmWg== X-Received: by 2002:a05:6102:ac8:: with SMTP id m8mr738550vsh.6.1644595459512; Fri, 11 Feb 2022 08:04:19 -0800 (PST) MIME-Version: 1.0 References: <20220208194119.46022-1-krzysztof.kozlowski@canonical.com> In-Reply-To: <20220208194119.46022-1-krzysztof.kozlowski@canonical.com> From: Sam Protsenko Date: Fri, 11 Feb 2022 18:04:08 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: soc: samsung: usi: refer to dtschema for children To: Krzysztof Kozlowski Cc: Rob Herring , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, 8 Feb 2022 at 21:41, Krzysztof Kozlowski wrote: > > 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. > > Refer to next bindings documentation for information on protocol subnodes that > - can exist under USI node: This whole paragraph doesn't make much sense now, because the doc links it refers to are removed in this patch. Maybe it's better to just remove the whole paragraph? > - > - [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. > > properties: > $nodename: > @@ -75,10 +71,17 @@ properties: > This property is optional. > > 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 > > required: > - compatible > -- > 2.32.0 >