Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3426120pxb; Mon, 1 Nov 2021 13:36:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynPjGz0ty0CDJA4S6PJPJwYt4byJNyr5khHNDz9TSxcWAH+5nNjapXvgzJmVctqRMrEkcc X-Received: by 2002:a05:6402:40c6:: with SMTP id z6mr12893207edb.304.1635798973521; Mon, 01 Nov 2021 13:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635798973; cv=none; d=google.com; s=arc-20160816; b=0SjVOy7g2Agpz5wNy9qVVKhoDgK6hENe8kuEO7bwPpviT6sc0L6uylrP7Vuz8ZHeLd MpI7bWo+KxJQiDTYanx07ZlJJWG1Kd/D6vOj7RlsxlGbabgGgzpuVOlpRjrCjUKyYDdJ fYNg1OXhQIhvtjW+QLuNpjt3QRyS2Y3rhiEJEEz7kUvwV4QkB3RqnIx+x0jQS3qK51Uj iDmK3qdWbxgqmirNJSvyzJcZautWVB8QQKKQ48FEBXzkdXk8Iye+uMcqvNAWwvnsPgSy jjiA6wruBgv2TN9w8U7VJ2SUMxrrlS9tDzLxHRbHgMv+R87eJ17IdTper//fAJ33gcaD fBMA== 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=7jMCRGui2/Gum4mb5UjGuBVKQlP/7omX+39AlRJjhUM=; b=UYB6v3CqH5FzG34ke4xCaxIP240xMVb3zoc5vRMAvZM4ak8Mpy7QP3RTqlxO+3LN5u UOYCSJ4ijvVZiUK2Ttg3lD6P2wpiCuynH8GY2v4gwArH28rhrpF2mM0KSjYARWJ4Xzab pGzj0EuiyHJC/xaBSrEZkT3zDc/I8ePnPkA+Y9LSx+mZL0aP1VZRlcucRUJWxLIPplgq S2qRv9uPDRuM0hxXc8qjrPVYWQ5DiM2XRep0+eY9vxbkc+uRJlCcsOHy6ii0zy2bdbaW C5+auVajxyhuZlv75n7sHNDo7tEVuMTd7hCEVBameHl6nvTCxYw68gKelJfIp7OaskqA AnfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 jg39si11147246ejc.71.2021.11.01.13.35.45; Mon, 01 Nov 2021 13:36:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S230317AbhKAUh4 (ORCPT + 65 others); Mon, 1 Nov 2021 16:37:56 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:44697 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbhKAUhj (ORCPT ); Mon, 1 Nov 2021 16:37:39 -0400 Received: by mail-oi1-f174.google.com with SMTP id w1so286492oiw.11; Mon, 01 Nov 2021 13:35:05 -0700 (PDT) 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=7jMCRGui2/Gum4mb5UjGuBVKQlP/7omX+39AlRJjhUM=; b=ugWAqEAnFZ0rn/NsfstT2GleOz394lQTHdUtSB1EpO9SfSHcLnN34jD80Z954opKCc bpthxVV2TYf8gjI8hBfTNSQBVdvAUzQVKlfLJfEnRYxQACZxXg+Y17bFkYhNwtR5hlKD cHvUd1cy7Mq8cTGWgDlhijlrsXDIc/ZyGX9yrjhIXT4q/k/X5np29Mnp7sGXobI35vBm 8Nm4x/wEiwFdDY0UxqvxmYbd+rsIxTI4BgaRH6VabCMVqRzp0ebJblzX/xeeN1brvrzZ 7C5z9gF52op2uUBDiUaNvbFhDfc4VENiAqhXFHYRASq2g7Xn0NPvfU83fuF/qOisFJ2a tg8A== X-Gm-Message-State: AOAM530KfEV5Qm5XgiByinnCs6d0J38LFX03l/LkPnxXiag3bPFsUAG3 JhVwOBpUl9BQ/ivBs2ryCQ== X-Received: by 2002:aca:502:: with SMTP id 2mr1142915oif.121.1635798905160; Mon, 01 Nov 2021 13:35:05 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id ay6sm1242483oob.17.2021.11.01.13.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 13:35:04 -0700 (PDT) Received: (nullmailer pid 1000398 invoked by uid 1000); Mon, 01 Nov 2021 20:35:03 -0000 Date: Mon, 1 Nov 2021 15:35:03 -0500 From: Rob Herring To: Anilkumar Kolli Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt: bindings: add new DT entry for ath11k PCI device support Message-ID: References: <1635175648-23491-1-git-send-email-akolli@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1635175648-23491-1-git-send-email-akolli@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Oct 25, 2021 at 08:57:27PM +0530, Anilkumar Kolli wrote: > Ath11k driver supports PCI devices such as QCN9074/QCA6390. > Ath11k firmware uses host DDR memory, DT entry is used to reserve > these host DDR memory regions, send these memory base > addresses using DT entries. > > Signed-off-by: Anilkumar Kolli > --- > .../bindings/net/wireless/qcom,ath11k.yaml | 38 ++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > index 5ac9616c9239..c7e6612e949c 100644 > --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml > @@ -19,6 +19,10 @@ description: | > These devices use HOST DDR memory, HOST DDR memory can be reserved > and send to ath11k driver from DT. > > + ATH11K supports PCI devices like QCA6390,QCN9074. > + These devices use host DDR memory, host DDR memory can be reserved > + and send to ath11k driver from DT. > + > properties: > compatible: > enum: > @@ -177,6 +181,29 @@ properties: > description: > HOST DDR end address. > > + qcom,base-addr: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Host DDR base address for firmware. QCN9074 firmware uses 45 MB of host > + DDR memory in mode-0 and 15 MB of host DDR memory in mode-2. > + > + qcom,caldb-addr: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Host DDR address to store CALDB. CALDB is calibration data base > + for WLAN channel and tx power. > + Use /reserved-memory entries for these. > + qcom,start-addr: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Host DDR start address. For example on x86 it is 0x0, > + on IPQ8074 it is 0x41000000. > + > + qcom,end-addr: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Host DDR end address. Nak. I don't know what you are doing with these 2, but it's wrong. Rob