Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1854305rwl; Thu, 30 Mar 2023 02:22:39 -0700 (PDT) X-Google-Smtp-Source: AKy350ay7pIvRf7FhBj1wjyKRhFb5S7Azp8hPX8Ohp6rrrKIgY0CmQBs1PDB3r6sLNKvzDujhmXP X-Received: by 2002:a17:906:dd:b0:93e:22e6:e7d1 with SMTP id 29-20020a17090600dd00b0093e22e6e7d1mr1432486eji.3.1680168159041; Thu, 30 Mar 2023 02:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680168159; cv=none; d=google.com; s=arc-20160816; b=OMaQsU9k5mzxZG/XPofNRXfi7/lvJAQRPebu6Vynl2cuhutIO/eIInUcgXIQnw/wIz nLEIkWKJOEIJM8t30Ji9r8ZK/baW6KWoBYN3tZ3k9z8W1gD316Zb3aXw9nluKdNrNxXZ 3Tt07hmuIXg4OsVAtrnc7r7YrOTaNMaFoappxGw0fXxh4NTZfqvOtO3skO3FdL4gIF7i FDwWfyV5HVpaf2mUYTURAkujo6s2BflM1RIPJZvT2IMePjI9daeMgEGiudsTh+6MlZA/ bMnjfW5YZt1UUeiaUmyHdUmhFRxpREFCwq5tt41sTov/HN+vpsLyfwFR1k67APNDltKd oETQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=CbeX3b3mkNU5KCreV7qGDGfkWXIVSy5iikXXRCofrt4=; b=LA9ni8gEColXPtV4LUB+MRlqyTehH8W6VXArB/pG+9zgH4KRTvwS1TR1y1piWRsbOV 6uwQLO1bIRLxnABwx5yNAWh9wUKRpN6CkX6MBw0ebJW1r6AeJiSXQI39Mb0SaLwg+UkI RI7aewUTtMNN5hbb4A9U2+sA/NoKR8OUcyFKkYWlr/Xo11U0zRmfK8qej4ig9WN7bTqT yjIUSZq4gjqmUGaghq8LtueIK6/ecQvmryt0/Sjyjy24PcW4vV4TyW1mxm213pfjsCnY 4nfyzGqFJgRRApCd3nwOVZc3iUs3J9jBWSbBU0+Mon0gwuOj+X9NjiLhK+9rGx3vGQJ8 qIFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Em1thZ80; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me16-20020a170906aed000b0093100c0022bsi345417ejb.674.2023.03.30.02.22.12; Thu, 30 Mar 2023 02:22:39 -0700 (PDT) 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=Em1thZ80; 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 S229624AbjC3JT6 (ORCPT + 99 others); Thu, 30 Mar 2023 05:19:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbjC3JTt (ORCPT ); Thu, 30 Mar 2023 05:19:49 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF861725 for ; Thu, 30 Mar 2023 02:19:45 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id o24-20020a05600c511800b003ef59905f26so11267850wms.2 for ; Thu, 30 Mar 2023 02:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680167983; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=CbeX3b3mkNU5KCreV7qGDGfkWXIVSy5iikXXRCofrt4=; b=Em1thZ80LnmvFydE9lDwXBYXKGD1PpQp8O4whHafhmwL1rSD+XG2INd+ggxm69Wn9e Ez3mwMf6WpDIjytF1hucvi1yCzgFfE2O0W2NJqfm2G0XcmqGgvm1VPydx6jtLqrCdYqn 90bH5eFlz12AAvp2XbDSYeV3mHiLzqKXiN3TcxDwuuQ+NTAe8KTCirNZ2aRREpmEaM5q JapCiyEACTmL9aGOlMB6ak75/t3fmtUMqgGO81wOomxCKIVe4shZspy0OP7OGGICG2Mg gp28vNO0nxZHXerkyoNWLfvQVR8DStz23RQV2xo2Yfj1X4UqjssAlQjYK7hNxHnskdMq 3yFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680167983; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CbeX3b3mkNU5KCreV7qGDGfkWXIVSy5iikXXRCofrt4=; b=eoaOLBvnGX+D5d/wkuEBRknBKDEVi7HsmY0gpExDhCts8NR0j58g0Xi5Jxpc1WBEdS NdPaqt8p96G+jOf2adZKHTkY0QN3HHSL4Wj+k5L88g2NPKCQYt0muY329ozT4Joh40dp lcalzn/lLoUWml1t6FBdZ1zzVWOd8n+FVDPS46vLRysdSY7tdZXuZlmvjZoTjkRNr/xa V3ehRWoV7PE6TCsxtHUpoE2l9goiNWfVmqk1KFTz3/FjjghoiteDfFxL3vyKQ2njq7uo QGoOgVj5TD9Zti2cVfJP+CfS+Mrc80VgxS+ker3pHr7/oJA+aefmIpR+1T1cuQyhjMsy Sluw== X-Gm-Message-State: AAQBX9dV4Q4u4cjtgQaS4rcykEFp1D5GgQHEU7tdSSrBb6EdPfwKOt31 W7VAbZHWRX+6cJUQcFGgFSf3bQ== X-Received: by 2002:a05:600c:b49:b0:3ef:5fe3:c57c with SMTP id k9-20020a05600c0b4900b003ef5fe3c57cmr15666956wmr.23.1680167983346; Thu, 30 Mar 2023 02:19:43 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:fe8e:8291:fc25:6c8f? ([2a01:e0a:982:cbb0:fe8e:8291:fc25:6c8f]) by smtp.gmail.com with ESMTPSA id z15-20020a05600c220f00b003ef5f77901dsm5055067wml.45.2023.03.30.02.19.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 02:19:43 -0700 (PDT) Message-ID: <9c8e9516-8297-3eb9-2682-5de9b089ac85@linaro.org> Date: Thu, 30 Mar 2023 11:19:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v2 1/2] dt-bindings: spi: add Amlogic Meson A1 SPI controller Content-Language: en-US To: Martin Kurbanov , Mark Brown , Rob Herring , Krzysztof Kozlowski , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@sberdevices.ru References: <20230327211351.686831-1-mmkurbanov@sberdevices.ru> <20230327211351.686831-2-mmkurbanov@sberdevices.ru> Organization: Linaro Developer Services In-Reply-To: <20230327211351.686831-2-mmkurbanov@sberdevices.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Hi, On 27/03/2023 23:13, Martin Kurbanov wrote: > Add YAML devicetree Amlogic Meson A113L (A1 family) SPIFC Driver. > > This patch has dependencies on the A1 clock series which is still under > review - https://lore.kernel.org/all/20230321193014.26349-1-ddrokosov@sberdevices.ru/ > > Signed-off-by: Martin Kurbanov > --- > .../bindings/spi/amlogic,meson-a1-spifc.yaml | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml I think it's time to drop "Meson" from bindings, please drop Meson here and in all the file down to the compatible which should be "amlogic,a1-spifc" > > diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml > new file mode 100644 > index 000000000000..d2b1c754a6e1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/spi/amlogic,meson-a1-spifc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Amlogic Meson A1 SPI Flash Controller > + > +maintainers: > + - Martin Kurbanov > + > +allOf: > + - $ref: spi-controller.yaml# > + > +properties: > + compatible: > + enum: > + - amlogic,meson-a1-spifc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + spi@fd000400 { > + compatible = "amlogic,meson-a1-spifc"; > + reg = <0xfd000400 0x290>; > + clocks = <&clkc_periphs CLKID_SPIFC>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; Drop the include and use fake label phandles instead. Thanks, Neil