Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3463416pxb; Mon, 4 Apr 2022 17:47:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHOh2ntjYbe/zQkHyu8Rub2rPBAp4oDBWKMy0jcHASclys/i5dK9ANLJ6x042gK90RRA3M X-Received: by 2002:a17:90a:bc01:b0:1ca:a5cf:5efe with SMTP id w1-20020a17090abc0100b001caa5cf5efemr1018798pjr.242.1649119679738; Mon, 04 Apr 2022 17:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649119679; cv=none; d=google.com; s=arc-20160816; b=L9WAtMePpPBCtr4T3+B7ES6WY4BghPBH69KE0dFDiI+C96WCbaKgeF5lSJNEe51wSO edWrxvqxo1KuPDe01XOGrZp2GVAljxbLtLB3+CImDK7jVKP+oYFiYFjMd+FnvyO+kZ9L y/Oo4L9VTKLHR7n+KSde9TnuUNq0MWquvRhEkJDj0X/uIGuwaXCPFdT59jy5gNB3AfyG Q+ZvX6+mV0esiTNJsz/szu/5GfZxTgHEzgQSoJzB3DbgjZTUocZ81+JWd60skuIzKLqC JCcm62yBl9ixDSo5Ki1aI0APLqMqIfc9JXsHmu9SY2cOzM2PfvYAIxLx5i9QDY/hcB2S QjrQ== 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=DaSE7ULJOB4VxQX7AgKGqYahg9TkFoibRaqDkyl52xM=; b=EqYpF9AabGglesP1zTzTUiVuoGjjPpnfhxcn1i6IH16/FDz6kcBXgvjnUux8favs2J Kj+zKw7HPZ+0c3TFbsKGGyShRtwsPRUhcjQPL9/r3I9ZtHUSZuHB2baqrBYYoSNMW7N2 /8/ocq44vbJx+pppB1MaSl26dHMxbSz5EplutArMAU5wUliJbR4HaU+js32BbE2uu0qU 57Pm84IFdr+S2GiUH3v5KBhBhIvRNY2eEMxxrKuMrmsoUD9oHnLjyaKH0cOEzrezUAgs PJLkxYGX2mDxvvCI4mejbcoq5hoGjkdEFxhJ24zdVj7fy9FuVLqgK+6kfIa4rPvncQye lqfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Nf/J8rLv"; 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 e14-20020a17090301ce00b00155f37a9df9si11965505plh.525.2022.04.04.17.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 17:47:59 -0700 (PDT) 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="Nf/J8rLv"; 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 CC966D3734; Mon, 4 Apr 2022 16:58:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344978AbiDBUkY (ORCPT + 99 others); Sat, 2 Apr 2022 16:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345203AbiDBUkT (ORCPT ); Sat, 2 Apr 2022 16:40:19 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD5B269 for ; Sat, 2 Apr 2022 13:38:26 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id u3so8886659wrg.3 for ; Sat, 02 Apr 2022 13:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=DaSE7ULJOB4VxQX7AgKGqYahg9TkFoibRaqDkyl52xM=; b=Nf/J8rLvBLHtIWMts7FPOG5zve1MCpb0B3B8dIoRxKi5I2F4fU6dATO2UbdJGeJwCh V7tTCd4GVXYUquBf/em/Ze1vUYOQ2hPO7gDrGPtUmofvbWHebSmDtD/JlIqUm76evwEW ZIIAtxKyca/gO7VmLeOvvUiVCBp+MPneZBZdPqRlp/V40fC9tG/rpyuSILddgym8/G/T eawyfTOThuK00gLrCvj6sKXMdJ0PUDlyRssa3kBXRA2U7eHCWt5m+5CKM6uXa9RGhSjx bwZEXHmy98jDfNtwey8NgXmdZS9R9XnF/qY0wYtRzTGP3wp4JrxZiwpQPlQkDet6VXVY MaYA== 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=DaSE7ULJOB4VxQX7AgKGqYahg9TkFoibRaqDkyl52xM=; b=H2J/o8k1P/Otv8VaK+1dVfrR7NAJ5agFaLuYs8929YlH2aPt4e05gLlXiyp+BE9fvi H/9MWRV5RaEhqzEsVnZQ8ss1rSePcQ55QKzeAGft5P6KIROhbBAnHzNzV/R9VuTpH8Go ItrxmbuS1llsxBtqZUADVw/WMlq9dBCP6Im1erJ4cpogaoPycgpso5azNi/wnkExHTQN lDmcvTp2inK1R76tl9R4DWi8kmzPGZ3qT4/1J9qrEb7JZLZ8bjpG25W0zYk9OiutXRAE cWMu3AZpr9N1uwnHMG52BHfuGAo5IxVvWo/CkyOXtwC+98cIjWotkLcPypEbn6T6ho6t 31Tw== X-Gm-Message-State: AOAM533ruQ16Lnd3KuADSDrzDOC8XmwZws6+2ZQAd4vek09Z2REysgcT N9TA+d6UHN0CVNSLGhZhpXvHPw== X-Received: by 2002:a5d:6944:0:b0:203:e024:7cdd with SMTP id r4-20020a5d6944000000b00203e0247cddmr11838810wrw.503.1648931905090; Sat, 02 Apr 2022 13:38:25 -0700 (PDT) Received: from [192.168.0.171] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id m8-20020a05600c3b0800b0038cc8f116d3sm13112262wms.44.2022.04.02.13.38.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Apr 2022 13:38:24 -0700 (PDT) Message-ID: <9a584eac-6ac9-e4ed-ef90-49569f4a4baa@linaro.org> Date: Sat, 2 Apr 2022 22:38:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3 9/9] dt-bindings: qcom: qcom,gsbi: convert to dtschema Content-Language: en-US To: Kuldeep Singh Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Mark Brown , linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org References: <20220402184011.132465-1-krzysztof.kozlowski@linaro.org> <20220402184011.132465-10-krzysztof.kozlowski@linaro.org> <20220402202917.GA36054@9a2d8922b8f1> From: Krzysztof Kozlowski In-Reply-To: <20220402202917.GA36054@9a2d8922b8f1> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 02/04/2022 22:29, Kuldeep Singh wrote: > On Sat, Apr 02, 2022 at 08:40:11PM +0200, Krzysztof Kozlowski wrote: >> Convert the Qualcomm General Serial Bus Interface (GSBI) to DT >> Schema. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> .../bindings/soc/qcom/qcom,gsbi.txt | 87 ------------ >> .../bindings/soc/qcom/qcom,gsbi.yaml | 133 ++++++++++++++++++ >> 2 files changed, 133 insertions(+), 87 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt >> create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml > > Great initiative to convert everything in one go! > > [...] > >> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml >> new file mode 100644 >> index 000000000000..b97e359f3f90 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml >> @@ -0,0 +1,133 @@ >> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/soc/qcom/qcom,gsbi.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm General Serial Bus Interface (GSBI) >> + >> +maintainers: >> + - Andy Gross >> + - Bjorn Andersson >> + - Krzysztof Kozlowski >> + >> +description: >> + The GSBI controller is modeled as a node with zero or more child nodes, each >> + representing a serial sub-node device that is mux'd as part of the GSBI >> + configuration settings. The mode setting will govern the input/output mode >> + of the 4 GSBI IOs. >> + >> + A GSBI controller node can contain 0 or more child nodes representing serial >> + devices. These serial devices can be a QCOM UART, I2C controller, spi >> + controller, or some combination of aforementioned devices. >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,gsbi-v1.0.0 > > Only 1 entry? const. v1.0.0 looks like there could be some more, although they did not reach mainline. The GSBI seems to be replaced by different blocks, so maybe there will be no new entries here. Best regards, Krzysztof