Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp444397rwb; Thu, 1 Dec 2022 04:21:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5pfQaqZ0EH4UGbHtSQIYHuGcv443HBCjDQgA4y/teYGToh2iaVAgor0J/TbKDt9CpxzB1r X-Received: by 2002:a17:90a:d106:b0:213:1944:dde2 with SMTP id l6-20020a17090ad10600b002131944dde2mr69332371pju.193.1669897268416; Thu, 01 Dec 2022 04:21:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669897268; cv=none; d=google.com; s=arc-20160816; b=s+WPFrDF01QLgxXZPFY3yk4vC9U/MDhRH80/OXCt2GgTEPpVoUtAgrDCoBUzKrKrhd /7GCqVaLd/eTl2mx3k8JgqMr9EOsWGdZ+N3ir/L5KtWp373P1F5723JCfJqKI3NPv9+G HuP9z5CUgPg6t5N1mq5BbE6HJ2k5Cxy5ZktR/v4+bbZ171nxfiZ8x0Vr+HmMsWBWiUXV pBg2BDnShhW1weP4Ik6DBWAb4czBGX+Yg5d3XqJ1OwzsF0DpeTviHetMBrZxyCvP0FHA Rdxz0SkMhzBAMtixWG6WBnoi66e7w/aQU4NUl80AZWJK9RE6yj9x41fZ8xnBwVYlBlaL qD5Q== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0UiAnxiG5gru9IeukT0uPFqmufGik114HWN4x39w6FA=; b=lgBNUH5hm4+wU4I0pfYtn88MZVRSJ2b7bWUbXqMlsttpwYkLzaGorlhNQ4/DO/NWKj OP2JFku0bKOJb4K9rSFzx/9+WTYsNvfufrYo9UApTXO+XZ0Svza9mxPGJJ4jnAaDN6be w+VKjp6glUZ9xgZn3OzpN4zLdOK2GNF3onpdSD8I82e6Vzw7BUlQZtcruYP6QTF6fAtg qvzTtKvi5UCdlHB7ikLNzQcayXaW/J64zScBNPQ8yNja50E6nnkaboVtioB9ilLyBCPi 3CB04DKMZTFnJhq8VKY7hkHubYInZb/i7NyeNr5X6i2+uwHCsHqAU8QZWM/tFZthd1bT TOeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zopg1txR; 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 y5-20020a056a00180500b00541505b05dbsi5101629pfa.31.2022.12.01.04.20.57; Thu, 01 Dec 2022 04:21:08 -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=zopg1txR; 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 S230431AbiLALmO (ORCPT + 82 others); Thu, 1 Dec 2022 06:42:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbiLALlz (ORCPT ); Thu, 1 Dec 2022 06:41:55 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0596F9582D for ; Thu, 1 Dec 2022 03:41:52 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id d6so2048464lfs.10 for ; Thu, 01 Dec 2022 03:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0UiAnxiG5gru9IeukT0uPFqmufGik114HWN4x39w6FA=; b=zopg1txRN5QgqaXfvugj89RD4LqFxqoqVjHWRsqgKB0npSUazcU7D9c2uZ9eF+aBjn YF6qfci1wHSt4AFzDdaT6TP9OhQ3Mdaza3DpmSV5hpIUekk3KR80oodi3SN9yWI5tGS6 BuQ4A1vklebhvhifCHCdZnMSoSeCWvFM/Ob8qdlXPxy4zsG7kk5g+VQP3o6YbOTvD/iZ 2WoTXkrwVdgV3weLjEU6HWVghtCCvmbFUyO94sTViyHwjHW1koa5iH6wuV0IKiROfrwq tf+I6a/cjSMNzM9dEX7KO+nfOz8/O/3aZxCS+RhXktnqnxBEzb01V5YJ95RsD8VHUo5a Jrug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0UiAnxiG5gru9IeukT0uPFqmufGik114HWN4x39w6FA=; b=2ou4lMOmyoxLdajqqe85eGRdoe1WyvvtJ2oN8YznnrBkbsqxiqd60uCvWUDhMqNF1A GuxVj03aAaU+4Gq5fMNU7H13jHOncUI/1u9mr0+erpxdi1mKuPMiVrYt8Qd8WZ77zk3/ 62/klLe1PiBrq7Vj6o/q324O455xXBQ7KCn2Yjb6W85D2k7PzxXVa1Kdag5/zJg+sP4v behVKhaZH1yHqBu9AGU/klEN5wYAhb/e0oUTPF2ssrj5VOUvE6P9HHsByNVS9xH/uooN begS1LZSQM42gk8QDbOTqQC1TnyfnOcWOxBqKuC6eVXe/GjUPCLwPlr0+LM/JXufZEEK Lyrg== X-Gm-Message-State: ANoB5pk3+dcmkBAy+ykF+ZJIwHKg/4ja2OEY89kcdV8pcR6q8PhzBlnq ir4QokWzJrnAEzopztjMK6pbAA== X-Received: by 2002:a05:6512:a83:b0:4aa:f944:f7ec with SMTP id m3-20020a0565120a8300b004aaf944f7ecmr17809472lfu.467.1669894910308; Thu, 01 Dec 2022 03:41:50 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id w10-20020a05651234ca00b0048a8c907fe9sm612837lfr.167.2022.12.01.03.41.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Dec 2022 03:41:47 -0800 (PST) Message-ID: Date: Thu, 1 Dec 2022 12:41:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 5/9] dt-bindings: riscv: Add bouffalolab bl808 board compatibles Content-Language: en-US To: Conor Dooley Cc: Jisheng Zhang , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , Jiri Slaby , =?UTF-8?Q?Ilpo_J=c3=a4rvinen?= , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org References: <20221127132448.4034-1-jszhang@kernel.org> <20221127132448.4034-6-jszhang@kernel.org> <60991459-945f-35db-f26a-fb27824728ad@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,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 On 01/12/2022 12:14, Conor Dooley wrote: > Hey Krzysztof, > > On Thu, Dec 01, 2022 at 12:05:04PM +0100, Krzysztof Kozlowski wrote: >> On 27/11/2022 14:24, Jisheng Zhang wrote: >>> Several SoMs and boards are available that feature the Bouffalolab >>> bl808 SoC. Document the compatible strings. >>> >>> Signed-off-by: Jisheng Zhang >>> --- >>> .../bindings/riscv/bouffalolab.yaml | 34 +++++++++++++++++++ >>> 1 file changed, 34 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/riscv/bouffalolab.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/riscv/bouffalolab.yaml b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml >>> new file mode 100644 >>> index 000000000000..91ca9dbdc798 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/riscv/bouffalolab.yaml >>> @@ -0,0 +1,34 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/riscv/bouffalolab.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Bouffalo Lab Technology SoC-based boards >>> + >>> +maintainers: >>> + - Jisheng Zhang >>> + >>> +description: >>> + Bouffalo Lab Technology SoC-based boards >>> + >>> +properties: >>> + $nodename: >>> + const: '/' >>> + compatible: >>> + oneOf: >>> + - description: Sipeed M1s SoM: >>> + items: >>> + - const: sipeed,m1s >>> + - const: bouffalolab,bl808 >> >> I don't think that SoM is usable alone. It always needs a carrier, so >> drop this entry. > > For my own information, if a SoM is not capable of functioning without a > carrier there is no merit in it having a compatible? > Does this also apply if there are multiple possible carriers from > different vendors? Compatible makes sense anyway. There will be different boards using this SoM (not only carriers, but final products) and they all will have common piece - the SoM. It's the same for other SoM designs (e.g. for iMX). Best regards, Krzysztof