Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1611768pxb; Wed, 9 Feb 2022 00:03:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNjhsTx7D/J9htwcN2F4nFO76yP5xs0QxgRasJgvoGtHjO5430DP+CxD8FZxDEURf5td9J X-Received: by 2002:a05:6402:d75:: with SMTP id ec53mr1145228edb.446.1644393825936; Wed, 09 Feb 2022 00:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644393825; cv=none; d=google.com; s=arc-20160816; b=JNr8WQp2vlCM2o2HstyvV2IPr65aHewmOiuzrmFR+YUMX7NJSp08HjPEqB0iqfpUuB OTd9UPqvTXQkc+QQ5L5I4cWSWB9o5lDHLplwhsoA7IA4nxfUNBgzmYokWeROgzCOE5FG JoxIrQewO/51gNpraR5kntw7V1fe/qALlWQo1E4h5MdJ9i/RZK6iaZeQICiUdNe0kb8N rgyel+dqkeXsY7PyifftPYi38Bu9Nt8Fj6bTpA/9JHulQRC+MPl0q/3V+rp+5VW3ki+y s7bdwjS9UdIQFrnmaOGQXPrTReIyIiCOKBDrSQtz/i7CXOt0AF6VvrqQeWlxRPRhq4CK LoGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ZyXH2t51WHYfAIKNwqd9VzvZrJFEb+1EMaGREtcsO1o=; b=F8PhQq5kTXUffnrTO413txqGnCAGET8fgFmVL3TYAlAtwpoFuQrDpqIvWZ1w75Xk2V UXN/NguIWXZPeyUjk0DgEnkfuRoS0cmYW0nVLKC5Ql8jCntY61FywZ6VLH2AwGGmqrya uv3Di+S0Yb9AFEjDFR8ymAoP1Zir9JdJT2W5DRGWfSMwCSe45MW1KakrbMFjbCayIKZ5 RFYXmT/ApbLU3x/2iLSa/lZOK2EiqGhqBMogXRmsouUOj98LiFmh9INclVeOa37O93AS fDGMuPjZ/TcLRlM9FX7/+nf9U/20p8tX/PIDDHqr0kK4ZPgiOnAJS3xIB8z0GYKx2fkv ERNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz37si2021577ejc.707.2022.02.09.00.03.21; Wed, 09 Feb 2022 00:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244450AbiBIDC4 (ORCPT + 99 others); Tue, 8 Feb 2022 22:02:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345475AbiBIDBj (ORCPT ); Tue, 8 Feb 2022 22:01:39 -0500 Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E83C0612C1; Tue, 8 Feb 2022 19:01:38 -0800 (PST) Received: by mail-oo1-f54.google.com with SMTP id v17-20020a4ac911000000b002eac41bb3f4so944298ooq.10; Tue, 08 Feb 2022 19:01:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZyXH2t51WHYfAIKNwqd9VzvZrJFEb+1EMaGREtcsO1o=; b=smdHsLRvDLStsbRob5cMjjvKYoipTFRsYTwpT14xBhsjm+rAGPaWSeF9X1fdgOjMIc 6UweVH9vqUNy5E6nS12aUMfzDpyLVK9Sj+6DSWeQOE9pZQESPzslVFRGlyUL4+NCR/Ea yh8JxcdTzGItZI9QJWP1KbbQ7sPBvgYwpiQlgkMfYBai7GQMphObAPBXidrDcUL4HXMl m+yk19XOEp9US49bR4P36tgV8RoVXP+GsKI5TmJBJeVGXSdbBHcWzv+TI/2Q2EaoUWw8 7vRPWC3HHbsdM2Q/BPlmdx58JmMm39desuDwk3LTibUSjGNO88YBDtCMlCEvUlOur/FT 1K0w== X-Gm-Message-State: AOAM533NRjxPYoECqoaAe7w40w1QDYDkUDpPsxAO5KWIsIWHlJGOd+jq vmFpGKseGh8ATov66CR+AQ== X-Received: by 2002:a05:6870:d450:: with SMTP id j16mr302591oag.268.1644375697493; Tue, 08 Feb 2022 19:01:37 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id a15sm6324251oil.13.2022.02.08.19.01.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 19:01:36 -0800 (PST) Received: (nullmailer pid 3538364 invoked by uid 1000); Wed, 09 Feb 2022 03:01:35 -0000 Date: Tue, 8 Feb 2022 21:01:35 -0600 From: Rob Herring To: Ansuel Smith Cc: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: soc: qcom: add qcom,tcsr bindings Message-ID: References: <20220122001609.15904-1-ansuelsmth@gmail.com> <20220122001609.15904-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220122001609.15904-2-ansuelsmth@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,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 Sat, Jan 22, 2022 at 01:16:08AM +0100, Ansuel Smith wrote: > Add qcom,tcsr-ipq8064 and qcom,tcsr-ipq4019 Documentation for the > tcsr present in ipq8064 and ipa4019 required to configure and > set various peripherals present in the SoC. > > Signed-off-by: Ansuel Smith > --- > .../bindings/soc/qcom/qcom,tcsr-ipq4019.yaml | 93 +++++++++++++++++++ > .../bindings/soc/qcom/qcom,tcsr-ipq8064.yaml | 47 ++++++++++ > 2 files changed, 140 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq8064.yaml > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml > new file mode 100644 > index 000000000000..3a82ccbb6588 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/soc/qcom/qcom,tcsr-ipq4019.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Qualcomm Top Control and Status Registers binding for IPQ4019 > + > +maintainers: > + - Ansuel Smith > + > +description: | > + This binding describes the Qualcomm Top Control and Status Registers, used > + for accessing configuration and mux settings for a variety of peripherals > + for ipq4019. > + > +properties: > + compatible: > + items: > + - const: qcom,tcsr-ipq4019 Normal order is qcom,ipq4019-tcsr > + - const: syscon > + > + reg: > + maxItems: 1 > + > + qcom,usb-hsphy-mode-select: > + description: Select usb hsphy mode for ipq4019 > + enum: > + - 'host' > + - 'device' Don't need quotes. > + > + qcom,ess-interface-select: > + description: Select ess interface mode for ipq4019 > + enum: > + - 'psgmii' > + - 'rgmii5' > + - 'rmii0' > + - 'rmii1' > + - 'rmii0_rmii1' > + - 'rgmii4' > + > + qcom,wifi-glb-cfg-enable-axid: > + description: Enable AXI master bus Axid translating > + to confirm all txn submitted by order for ipq4019 Wrap at ~80 and indent 2 more spaces (than 'description'). > + type: boolean > + > + qcom,wifi-glb-cfg-socslv-mode: > + description: Select wifi socslv mode for ipq4019 > + snoc use SNOC socslv_wxi_bvalid. > + local use locally generate socslv_wxi_bvalid for performance. > + enum: > + - 'snoc' > + - 'local' > + > + qcom,wifi_noc_memtype_m0_m2: s/_/-/ > + description: Configure special wifi memory type needed for > + some IPQ40xx devicesfor ipq4019 > + type: boolean > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + tcsr@194b000 { > + compatible = "qcom,tcsr-ipq4019", "syscon"; > + reg = <0x194b000 0x100>; > + qcom,usb-hsphy-mode-select = "host"; > + }; > + > + tcsr@1949000 { > + compatible = "qcom,tcsr-ipq4019", "syscon"; > + reg = <0x1949000 0x100>; > + qcom,wifi-glb-cfg-enable-axid; > + qcom,wifi-glb-cfg-socslv-mode = "local"; > + }; > + > + ess_tcsr@1953000 { > + compatible = "qcom,tcsr-ipq4019", "syscon"; > + reg = <0x1953000 0x1000>; > + qcom,ess-interface-select = "psgmii"; > + }; > + > + tcsr@1957000 { > + compatible = "qcom,tcsr-ipq4019", "syscon"; > + reg = <0x1957000 0x100>; > + qcom,wifi_noc_memtype_m0_m2; > + }; > + > +... > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq8064.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq8064.yaml > new file mode 100644 > index 000000000000..4ccc0bfccec5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq8064.yaml > @@ -0,0 +1,47 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/soc/qcom/qcom,tcsr-ipq8064.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Qualcomm Top Control and Status Registers binding for IPQ8064 > + > +maintainers: > + - Ansuel Smith > + > +description: | > + This binding describes the Qualcomm Top Control and Status Registers, used > + for accessing configuration and mux settings for a variety of peripherals > + for ipq8064. > + > +properties: > + compatible: > + items: > + - const: qcom,tcsr-ipq8064 qcom,ipq8064-tcsr > + - const: syscon > + > + reg: > + maxItems: 1 > + > + qcom,usb-ctrl-select: > + description: Select usb3 ctrl type for ipq8064 > + enum: > + - 'p0' > + - 'p1' > + - 'dual' > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + tcsr: syscon@1a400000 { > + compatible = "qcom,tcsr-ipq8064", "syscon"; > + reg = <0x1a400000 0x100>; > + qcom,usb-ctrl-select = "dual"; > + }; > + > +... > -- > 2.33.1 > >