Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp150836imn; Wed, 27 Jul 2022 02:25:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t5mQc7GdqKoHYxtb+fCrde09KlH5XT2EYO5BnlFq+OmJw3VuZJdTabJhEbn3S0HawMeXPN X-Received: by 2002:a62:5441:0:b0:52b:ab93:1f05 with SMTP id i62-20020a625441000000b0052bab931f05mr21276288pfb.30.1658913950770; Wed, 27 Jul 2022 02:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658913950; cv=none; d=google.com; s=arc-20160816; b=TZBNZ03D1JDob6eZ+GMsGyCKyp4pY6gR48tdGe7R6XOhhwVy6aW/byjpS3Xdm+pUiN tf0BP9PTSrDqNoWF/W2cAbmgNDF5JoC+EObBhnzvFYW+qahErWdC0igpLakwxnH+ZmxZ AeWD2gMzIexN15Bpz64yl0LbHm4kGfz7nLSlVlopJKWoSwqlxliQsIsMppbm+ZYe2ioH lcGg6K1ZYGpRhdzxQxRI6iC1acsNfv28HvcsV9LWbV12RL8AlA9EW90YEQ4lSsqtXT8F DW52Kn7ycSE3bpBVsi2AcRj889eI8r4vZ9lNycLDrIxZDZbwBA190xTiGaAsoEKsYka7 xnOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=e1jEidp/43HurOurI3ea/Lj6gX0yFHwhUPUipru09Mw=; b=JNrXbut0KJPkWtU9Sm8nb1HTdQEBr8owF46y2S9530Ogg0J+VaRhOBW0vNcAEhb5x4 XMPUVIxIfl6kOWlbvrLg8Ek/SZ+NziPaetxu8eUoL0kPNy7B4o0vBzFIKk3C7QYDlXh0 Ev/t2Ut4lvIRe8WKVLhWuFKsnQnT4j7JNaAyTuN5BImHWVgfRVPihq7J0FLhmwXlcubv Aan53A/clQW3J/YUPaVvfb/6l6XQ4eVkE1OZmFGA0RNRvJVbkXVXWQ+MDizx7KdztEwz 3TVb/JCDU8132CJpwyne+9rKpCrGZ0glahzCj/N+6XG/UFLYKEGUD4b8ree4UbAGmAuX qnVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qeiw6Fah; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a056a00170200b0052b1eb121c8si24521454pfc.167.2022.07.27.02.25.35; Wed, 27 Jul 2022 02:25:50 -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=Qeiw6Fah; 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 S231132AbiG0Irh (ORCPT + 99 others); Wed, 27 Jul 2022 04:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiG0Irf (ORCPT ); Wed, 27 Jul 2022 04:47:35 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD36220CD; Wed, 27 Jul 2022 01:47:34 -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 sin.source.kernel.org (Postfix) with ESMTPS id 3C52ECE2017; Wed, 27 Jul 2022 08:47:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F1CAC433C1; Wed, 27 Jul 2022 08:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658911651; bh=4GuO28BznivsDSDth2Dn8Mdw0gdA1bj+aNBMQfgsvzg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Qeiw6FahKTgJxAZujGiIyCQtO+OAtKfwtkI6PQP5YfplD2wNjTCPeJ2JzgncmNsTO Uobyom2VtiwNQ3CMnMPODLwx/f3zupqWRpaATCXrl6BEdsvKxAZi9RHJTiatpKtnxa JH73JF7l4G5B7C7IakWFO1jJNJz35dgP2fAKOHzTQdCVIEVEF/6Y98W4V32yAw0om2 RlO1LY3XhAEjlpApVFlwpgvPMAy9cjVuKVV+FLs4pWjC5A8cQa1QPQlMlSZJhRMV1w zXxSkrCrX0fU7VpEDRbhwdYfFsGpphxXfbNBmCSHAh6uf6sX8IssuiC51ma3iWs8gU IS6LsrY+dIRlA== From: Kalle Valo To: Dmitry Baryshkov Cc: Caleb Connolly , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Sumit Semwal , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Amit Pundir , Vinod Koul , ath10k@lists.infradead.org Subject: Re: [PATCH 2/4] arm64: dts: qcom: add sdm845-google-blueline (Pixel 3) References: <20220718213051.1475108-1-caleb@connolly.tech> <20220718213051.1475108-3-caleb@connolly.tech> Date: Wed, 27 Jul 2022 11:47:25 +0300 In-Reply-To: (Dmitry Baryshkov's message of "Tue, 19 Jul 2022 01:13:38 +0300") Message-ID: <87o7xbosbm.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 + ath10k list Dmitry Baryshkov writes: > On 19/07/2022 00:30, Caleb Connolly wrote: > >> From: Amit Pundir >> >> This adds an initial dts for the Blueline (Pixel 3). Supported >> functionality includes display, Debug UART, UFS, USB-C (peripheral), WiFi, >> Bluetooth and modem. >> >> Bootloader compatible board and msm IDs are needed for the kernel to boot >> with Pixel3 bootloader, so those are added. >> >> GPIOs 0 through 3 and 81 through 84 are configured to not be accessible >> from the application CPUs, so we mark them as reserved to allow the Pixel 3 >> to boot. >> >> The reserved-memory locations where obtained from downstream using >> kernel logs: >> https://gist.github.com/calebccff/090d10bfac3cb9e9bd98dda30b054c96 >> >> The rmtfs region is allocated with UIO, making it technically "dynamic". >> It's address and size can be read from sysfs: >> >> blueline:/ # cat /sys/class/uio/uio0/name >> rmtfs >> at /sys/class/uio/uio0/maps/map0/addr >> 0x00000000f2701000 >> blueline:/ # cat /sys/class/uio/uio0/maps/map0/size >> 0x0000000000200000 >> >> Like the OnePlus 6, it needs 1kB reserved on either side of the rmtfs >> memory to workaround some XPU bug which would otherwise cause erroneous >> XPU violations when accessing the rmtfs_mem region. >> >> For wifi, the pixel 3 reports a board-id of 0xFF, and downstream >> only includes a single bdwlan file. The qcom,ath10k-calibration-variant >> property is set to ensure that the correct calibration data is used. >> >> Signed-off-by: Bjorn Andersson >> [AmitP: Cherry-picked and refactored from Bjorn's db845c dts >> ("arm64: dts: qcom: Add Dragonboard 845c") https://lkml.org/lkml/2019/6/6/7] >> Signed-off-by: Amit Pundir >> [sumits: merged commits to add board and msm ids, gpio range reservation, >> ufs device-reset gpio and adaptation to v5.5+ changes] >> Signed-off-by: Sumit Semwal >> [vinod: Add display nodes] >> Signed-off-by: Vinod Koul >> [caleb: remove db845c bits, cleanup, add reserved-memory for modem/wifi] >> Signed-off-by: Caleb Connolly > > Thanks for your patch, few minor items to improve. [...] >> +&wifi { >> + status = "okay"; >> + >> + vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; >> + vdd-1.8-xo-supply = <&vreg_l7a_1p8>; >> + vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; >> + vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; >> + >> + qcom,snoc-host-cap-8bit-quirk; >> + qcom,ath10k-calibration-variant = "google_blueline"; > > Ideally Kalle Valo should bless this string, added him to the Cc list. > Could you please submit the board file to the ath10k (see [1] for the > description and [2] for an example). Thanks for CC. I prefer "google-blueline" but that's really a cosmetic issue. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches