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 C0C35C4332F for ; Mon, 10 Jan 2022 15:11:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235985AbiAJPLI (ORCPT ); Mon, 10 Jan 2022 10:11:08 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:51676 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233484AbiAJPLG (ORCPT ); Mon, 10 Jan 2022 10:11:06 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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-0.canonical.com (Postfix) with ESMTPS id E9AF03F175 for ; Mon, 10 Jan 2022 15:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641827464; bh=tX3h7hnt8kxt/dVYtcBgB0Ej6aT/jkR+7hhXYExraYQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VRNIOMSc9fRPCfyp7K/daqpYan+Ee/kNEhKUgh45UKsHQQDvYLLR3tyYTkf4r6KWD dYY/uA9YRL57i3o8McZLGnsiZWPbruN+6ZBDqX7130HoN3HQiqIqtgWJwzx2jqTXP2 JjEm600NgVj32BX3qXC60+a37uuz7uDANnIpoiFRvpReORIUVToAo0hkMA8zH7GUoh btiei24pNnsYrjb5yki3ZxxyUbEqNOeQHU9nECk02Qk4+uSUFvxy3cueEU/7TCiB8q duA5+qja7jAn3PtOE4SHHQplIdcsp5KRwce6sHacd1Kda6gKu2XInVxbO6VmhTN7a6 LyM6jdklTnTjA== Received: by mail-ed1-f70.google.com with SMTP id c8-20020a05640227c800b003fdc1684cdeso2349523ede.12 for ; Mon, 10 Jan 2022 07:11:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tX3h7hnt8kxt/dVYtcBgB0Ej6aT/jkR+7hhXYExraYQ=; b=KqnlpfMnzb0UtHC1yZqTytvBEh6PtO8VN/IVSTo4afdW6RsEuSMPrnNxNFFt2fNg/V sxXoIYoiaz0tqkiOtfMapMTRTajmxjsv39t53xdWl9IUMzLfs7A7Ufc9wrhLnuP9mXjW 4lSTHIc2/V1UvREd/elhqk13DtnYX6iKIJNCc+0JeMWw7RG24DQJuQ5J+U2et5fEigWA CINZq+xgveXNshObuoODirsA0fg7j4GP0H0Xt977KnVqxNU3tfzzFxdf4Zn0RM0FLbxq X5VPoxZUBJ29lohi62im22HaiKr5x4NMcjQI8v7eSrrgmZy/H3Gq2QuMzTxHd9gL0Kxw rTTg== X-Gm-Message-State: AOAM531Pgs0UY35CiTJL4T7bE3Kmnhhec/ymKVSB3EQ8Mv4Yo1sSE+SC UznTKzrAIEicLh0LfYW9/1huauzdfYfFzlX+ctL96fK6HBWAJXW0UvfbqgvBSEmud0HTgj7nRJc DZlCbLsw4FzdExjpmdzkteLEJWkYnfgQ/OQ40N/ehdA== X-Received: by 2002:a05:6402:2756:: with SMTP id z22mr74493edd.255.1641827460976; Mon, 10 Jan 2022 07:11:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwxpZo2R3+fpKQFtBTyG7e4TaBBMrhOqAuzK/7sAzUdh6Cil2bZ3WxmZvF685+f8JUGO5VTA== X-Received: by 2002:a05:6402:2756:: with SMTP id z22mr74475edd.255.1641827460801; Mon, 10 Jan 2022 07:11:00 -0800 (PST) Received: from [192.168.1.126] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id c1sm2548737ejf.92.2022.01.10.07.11.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jan 2022 07:11:00 -0800 (PST) Message-ID: <372040ab-6ada-62e9-727f-6daeba8e73f8@canonical.com> Date: Mon, 10 Jan 2022 16:10:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH 2/2] spi: dt-bindings: samsung: convert to dtschema Content-Language: en-US To: Sam Protsenko Cc: Andi Shyti , Mark Brown , Rob Herring , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220102155807.42758-1-krzysztof.kozlowski@canonical.com> <20220102155807.42758-2-krzysztof.kozlowski@canonical.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/2022 15:41, Sam Protsenko wrote: > On Sun, 2 Jan 2022 at 17:58, Krzysztof Kozlowski > wrote: >> >> Convert the Samsung SoC (S3C24xx, S3C64xx, S5Pv210, Exynos) SPI >> controller bindings to DT schema format >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> .../devicetree/bindings/spi/samsung,spi.yaml | 220 ++++++++++++++++++ >> .../devicetree/bindings/spi/spi-samsung.txt | 122 ---------- >> MAINTAINERS | 2 +- >> 3 files changed, 221 insertions(+), 123 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/spi/samsung,spi.yaml >> delete mode 100644 Documentation/devicetree/bindings/spi/spi-samsung.txt >> >> diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml >> new file mode 100644 >> index 000000000000..195bfafe05fd >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml >> @@ -0,0 +1,220 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/spi/samsung,spi.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Samsung S3C/S5P/Exynos SoC SPI controller >> + >> +maintainers: >> + - Krzysztof Kozlowski >> + >> +description: >> + All the SPI controller nodes should be represented in the aliases node using >> + the following format 'spi{n}' where n is a unique number for the alias. >> + >> +properties: >> + compatible: >> + oneOf: >> + - enum: >> + - samsung,s3c2443-spi > > Maybe add the list of supported platforms for each compatible (in a > comment on the same line), like it was done in .txt binding? > > Other than that: > Sure. Best regards, Krzysztof