From patchwork Mon Mar 20 10:46:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 72117 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1144115wrt; Mon, 20 Mar 2023 03:57:03 -0700 (PDT) X-Google-Smtp-Source: AK7set/sPLkcnRow559/Nrd2hmraFx4yYX+geVEDVXu/adO6gpxePWUpY59q1txvslQJi9elHi8f X-Received: by 2002:a17:90a:355:b0:237:24a8:c5e2 with SMTP id 21-20020a17090a035500b0023724a8c5e2mr18231786pjf.40.1679309823072; Mon, 20 Mar 2023 03:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679309823; cv=none; d=google.com; s=arc-20160816; b=cxaTDeFymzzUrOtv2z+0LoPr4tHsPHdsSHv4X7oJLIasdsb6+oFh4I+IX7XkPlespS Ulp+mXhBNQdjjH/zj+6OQaCOegCOK0jxNSh7Ar9vTVJNGgrn2st6TdAI4fmdL0ox3Q/O w6jrmG0Kl6/xtuZ9KPMpASpiWKLVSNVgrFarXDTxa8a8YEnltywObJc8qtl2gr8SO+sF DmQCVYMvjmOFruVKsNcttMh777Vm/rzN0VI3uMGmCTaY4z8T4QhgAFvu9iDRQWLKCQAK 53FFqXbo7iag/H3qEOt92J9Z+OpO8bC8acO6PiSt6BiR1r4Yy5sgysik7wUkqihGH8gs hQzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uOI/TIuDnjKfanPyCkVmxoBOcrF/mxSEQR6tF3PchME=; b=iY3SRQi/3qmnLE9JS/tS28+o/swl6XynWF14wvgrrI7nuCBsPhy5mQ686gXmR25A+z ftgUZuXxEceojtP0zZC48FH90UUeXhis2/CqrQiL9/313vPz+PORsPS6INfiirK++Qqb I8XlySJpLxxawARmLM7ob3RXfpmKKvs1iyk/vNLBI9+fef+OxpBSyfW+tR6JyGU7go1b dskxU5szV/HG9jfoZDwu6EtiWcWy0BPmipLvLd/9eavhrTdJq1JtqQTARD8VBGoXJD+D QU1JLIizD5dZu5jO3bx9r4fOrxAuuQlxU41TiHvVa+Y3mBS4D8l4lLlWojIPideWiYLv XfNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nt29mlK4; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a636b09000000b005076410cb9asi10273797pgc.424.2023.03.20.03.56.50; Mon, 20 Mar 2023 03:57:03 -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=@kernel.org header.s=k20201202 header.b=nt29mlK4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230452AbjCTKwV (ORCPT + 99 others); Mon, 20 Mar 2023 06:52:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbjCTKvq (ORCPT ); Mon, 20 Mar 2023 06:51:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A1FB7D90; Mon, 20 Mar 2023 03:49:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A0BF7B80E13; Mon, 20 Mar 2023 10:48:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F12AC4339B; Mon, 20 Mar 2023 10:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679309288; bh=zg6KFoWKPsQYBqBkRYh2FlEcuFqO13EH3bpZOdx8gT4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nt29mlK44yFQE+lT87r0zxUIDWOsU9nAlO81XL1N2Hz1l3INT+uelPInkkCxOx9iC D4Dnegf+cR6nj2Z6zwVaFqzR37Xt9nZNcyiz5gcwsv0Ju1aTa20Z3ry3gwzC5Z7d7B fFgspF1CWgeE8ugj7Tk1czjnGRSzjpNcQpWlRdeevUHf0exY/w9s15NEZ/1M1AvWwD Z2HhknuejnF9AR6b9ijBezlu1qXkX+jHv5/eaUjIqvDAY7FI7P5051BwAvSDdKjnHF YHpKvO82/eOsEfzKyG8E4eiiybcQo9zarHtJg/lTXdJ4FnvHaZ+uqFH8O/3Wu1QmR/ C/eyyqeXc7U9g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1peD4z-0005nV-22; Mon, 20 Mar 2023 11:49:29 +0100 From: Johan Hovold To: Kalle Valo , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/3] dt-bindings: wireless: add ath11k pcie bindings Date: Mon, 20 Mar 2023 11:46:56 +0100 Message-Id: <20230320104658.22186-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230320104658.22186-1-johan+linaro@kernel.org> References: <20230320104658.22186-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760883977358167787?= X-GMAIL-MSGID: =?utf-8?q?1760883977358167787?= Add devicetree bindings for Qualcomm ath11k PCIe devices such as WCN6856 for which the calibration data variant may need to be described. Signed-off-by: Johan Hovold --- .../bindings/net/wireless/pci17cb,1103.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/pci17cb,1103.yaml diff --git a/Documentation/devicetree/bindings/net/wireless/pci17cb,1103.yaml b/Documentation/devicetree/bindings/net/wireless/pci17cb,1103.yaml new file mode 100644 index 000000000000..df67013822c6 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/pci17cb,1103.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2023 Linaro Limited +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/pci17cb,1103.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies ath11k wireless devices (PCIe) + +maintainers: + - Kalle Valo + +description: | + Qualcomm Technologies IEEE 802.11ax PCIe devices. + +properties: + compatible: + enum: + - pci17cb,1103 # WCN6856 + + reg: + maxItems: 1 + + qcom,ath11k-calibration-variant: + $ref: /schemas/types.yaml#/definitions/string + description: calibration data variant + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pcie { + #address-cells = <3>; + #size-cells = <2>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + + bus-range = <0x01 0xff>; + + wifi@0 { + compatible = "pci17cb,1103"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath11k-calibration-variant = "LE_X13S"; + }; + }; + }; From patchwork Mon Mar 20 10:46:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 72121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1148391wrt; Mon, 20 Mar 2023 04:06:06 -0700 (PDT) X-Google-Smtp-Source: AK7set9VzI+Aea3+wOgSAJ12A5fcExDs5kZMVlEG69B8mliZGKLNM6t8ZA9KaDwrm8YOGcI3c8B8 X-Received: by 2002:aa7:9e92:0:b0:627:f13d:8ba9 with SMTP id p18-20020aa79e92000000b00627f13d8ba9mr4135788pfq.28.1679310366415; Mon, 20 Mar 2023 04:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679310366; cv=none; d=google.com; s=arc-20160816; b=notOeVSxyAJS7x8s4HmzgM1B7exbSHEoqXsJw3YgDpnCnNFc72crijW6olHKUs9QuE hVafjV6PponOVgEFSjCXhi+XZDdwJNMZ1iBToOXQjTQYAP1bJppMStx8+DUO5HtHOuwk 4nOzGLTG3ZeKFWStLVjSbri3PQEPcyxKfPL7AlsNalB0ScAeXmlG2t8rdFc+YAUC3uu7 ys/cGAsWLPXTF7SL7w0//YSmlaSU6L5qvhWfPVnM4smBFythDo29qCZGDykulJzy2Wmj 2c6df87Zmsr8pftvzeUdYi8uS1VN0n/bOzxlbrrnLJ0I23cNqmFGYFkyB1uLXjYqfDKg qKwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KG9feDvfgScH/tcgp5dqtxkHzi8dun67gX4C+TVfLoc=; b=WPbAwcMSDQ/EV89dK9HROKjXWsufXgzr8F3EFoV4hUSTh9GbbXDhyWt4RvxA58FJU2 /u1Duobi+ktXFKLivlHvVCtNRxP+h93wbI6VtoqZ4hQBLBjDAixAnuAdjuXMbtfoo6P2 94smgB13YZqH5TScWc3BogXjfXaq28NRas5arHNRMK8Nr9pQbY3LBw4ftftnkSJ70riV uhvwgJLAJ4tOjExMsQnWbV4EZRCOgFM7p1d3wtJr2UCADR8ItoWCT3TnEGyW2GfoG/CV F2BuRXHPOucZlP1MAbHxeXu0b2sbWk+rROdJyOkTlqDEKvket8sCJQiYROLBtM5KrC+/ +b+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TNgKIwiA; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a631b08000000b0050bcb8e3a9esi9899771pgb.234.2023.03.20.04.05.53; Mon, 20 Mar 2023 04:06:06 -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=@kernel.org header.s=k20201202 header.b=TNgKIwiA; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230526AbjCTKwD (ORCPT + 99 others); Mon, 20 Mar 2023 06:52:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbjCTKvg (ORCPT ); Mon, 20 Mar 2023 06:51:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DA4E22CB4; Mon, 20 Mar 2023 03:49:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B6BFCB80E11; Mon, 20 Mar 2023 10:48:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A262C433D2; Mon, 20 Mar 2023 10:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679309288; bh=b6zSPC09M9ZFRFcNsTQuVCwj8XUEUaZcN2PuExL6Ogc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TNgKIwiA7uJYk6mLX54BKkXEKUbGOUt/FrJHJwmbmbzCvazeQYyqRChwp4ajdUK4N 1d2lpGBZXb8FViDYJ2T8XpqeJKSd1Dtz7uXC0DatdQLLP11tx30DZ4y2yJGjS9Mz0D KeLQpprQT42HNtyGC2ma1YNwLiiakJjSL8lGHUgANsXD40hEfv6GKVHmPzF117K65l fNbxK6o6vejnoszhYnjhRCnL76E11Xq76WaFkYXUqsZFtP79GfAr/pmZjuwNIWL6XQ q0UIhdyzpYchQxNjnuN+WN2lV0O+FMDfp24OE/kefdj9AURDnfS7NFwSZE6TdxIdXa 78QY17ZtzZn+A== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1peD4z-0005nX-5D; Mon, 20 Mar 2023 11:49:29 +0100 From: Johan Hovold To: Kalle Valo , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/3] arm64: dts: qcom: sc8280xp-x13s: add wifi calibration variant Date: Mon, 20 Mar 2023 11:46:57 +0100 Message-Id: <20230320104658.22186-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230320104658.22186-1-johan+linaro@kernel.org> References: <20230320104658.22186-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760884546953765805?= X-GMAIL-MSGID: =?utf-8?q?1760884546953765805?= Describe the bus topology for PCIe domain 6 and add the ath11k calibration variant so that the board file (calibration data) can be loaded. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216246 Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio Tested-by: Steev Klimaszewski #Thinkpad X13s --- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 150f51f1db37..0051025e0aa8 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -711,6 +711,23 @@ &pcie4 { pinctrl-0 = <&pcie4_default>; status = "okay"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + + bus-range = <0x01 0xff>; + + wifi@0 { + compatible = "pci17cb,1103"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath11k-calibration-variant = "LE_X13S"; + }; + }; }; &pcie4_phy { From patchwork Mon Mar 20 10:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 72118 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1144184wrt; Mon, 20 Mar 2023 03:57:13 -0700 (PDT) X-Google-Smtp-Source: AK7set/HYYdyV5/zvS5RE4bvxc9u5NACRjZWdFuwNlxvlG6SK/LCzt/PiZlB7Ez0Tv0wIvN4JHNy X-Received: by 2002:a17:90b:3e8d:b0:236:99c4:6096 with SMTP id rj13-20020a17090b3e8d00b0023699c46096mr18540674pjb.35.1679309833386; Mon, 20 Mar 2023 03:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679309833; cv=none; d=google.com; s=arc-20160816; b=FR52VtWARnfcgd0TVOwnDgn/B+cbbGSsR5RJFNZq9vRkh0a4s3yP3xkNQfty50TOKx ZxK49zx7TarbeixaIG46zObEC0ur9HweW1xGAz8D3zho9jy+PS0r+mSoVqYB7BoPIXXl pkbHg8ATQ4L4l1x1sutDQVvC2EGZQ26xN86CMpofjEM6sGYC8u7lj4EzCNI6hj1Er/h+ Cmr9TuQlIeNHUUp0KzvaH/2hCtIOKpGdJZb0PxxXYkRzrAY+8TuAxQXk+OxEszauto0w 9Z/6rLqyIDJPbQBql7NN215Vn6jP5+3rXyoQHDemDIr+Hq4gBUNbqX8JwZ6zyUIeSM1D ih5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BDGRGyeAJ43a9woU2SlZNVERr4vu+JQNlHP8vS6ptr0=; b=Ps6rT8IapesNF8MT5kp9TPF38fh15iWKUBebYQM3C+xxk6+laS+86p8lZugShN1H+5 k1r1IYvPXHzArAjsLgPjQGiyT/giVuwAGUJJlVlKDDXGcIaCS4Xt1EH5QhbnYIhysPcT CiDwgi17aE4m4WTfsY6m8X8O2WRhkuxFiGqsHRJas4bkK26wZY74lONvBiRYS5uXZmh+ dM2UF0YwwlzZktuS0jp/WfQeGIU3oBtOOIyS9a94r5Yr7V3EFIyN0HwcSOQVdAskmgOq nbfir5e7MIJc/jdB2zpF8wScT188lWYXCbCTw7ON+XrA6hRTLICv39Ko8gVMDOn4S7F6 NT+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pqE6oFvt; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020a17090a690600b0023672f9f970si15844412pjj.5.2023.03.20.03.56.58; Mon, 20 Mar 2023 03:57:13 -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=@kernel.org header.s=k20201202 header.b=pqE6oFvt; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231173AbjCTKwS (ORCPT + 99 others); Mon, 20 Mar 2023 06:52:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230380AbjCTKvp (ORCPT ); Mon, 20 Mar 2023 06:51:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A52BCC0D; Mon, 20 Mar 2023 03:49:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A13C8B80E14; Mon, 20 Mar 2023 10:48:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C708C4339C; Mon, 20 Mar 2023 10:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679309288; bh=TfrBhlCQseTHJXPXBcl5b1+T9R2FW/TX2/AG/Cm/hAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pqE6oFvtG38Ej2exQfy3v9PMKXNQxEZwOkXCAJOdemspvQMF9HFIp256o9KXfF3P0 abIoAZ0SKfffD1SBmE1YAO7QlhNQKXums8AWIb18qYG2VayVQ4zMDbBU+g2UFSJajY aQ/TVoRMv0kUhBc1GxenY2/d1gLzioMBAsqmfU0NJ9WWARtXKh8cCzFN0zkdW07CCq TvtIOHIk+Xirc6vRzhQP1m6a4e8jIHcyTyw6G244Bu4JchIVjcbuh6ewVUrldOBsQZ Xw9N24MDdQNJS0AMZTGV5Oq5OqVfqtCI+EBU5So14sCQp0ckMeKeDcMD2xL60jqJD9 aauetD5xC9FRw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1peD4z-0005nZ-8T; Mon, 20 Mar 2023 11:49:29 +0100 From: Johan Hovold To: Kalle Valo , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/3] arm64: dts: qcom: sc8280xp-crd: add wifi calibration variant Date: Mon, 20 Mar 2023 11:46:58 +0100 Message-Id: <20230320104658.22186-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230320104658.22186-1-johan+linaro@kernel.org> References: <20230320104658.22186-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760883987712465512?= X-GMAIL-MSGID: =?utf-8?q?1760883987712465512?= Describe the bus topology for PCIe domain 6 and add the ath11k calibration variant so that the board file (calibration data) can be loaded. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216036 Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts index 90a5df9c7a24..5dfda12f669b 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -579,6 +579,23 @@ &pcie4 { pinctrl-0 = <&pcie4_default>; status = "okay"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + + bus-range = <0x01 0xff>; + + wifi@0 { + compatible = "pci17cb,1103"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + qcom,ath11k-calibration-variant = "LE_X13S"; + }; + }; }; &pcie4_phy {