From patchwork Tue Feb 14 16:12:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13140466 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC0EC61DA4 for ; Tue, 14 Feb 2023 16:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230414AbjBNQMU (ORCPT ); Tue, 14 Feb 2023 11:12:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjBNQMS (ORCPT ); Tue, 14 Feb 2023 11:12:18 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882E01BED for ; Tue, 14 Feb 2023 08:12:17 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id t24so1082012eji.4 for ; Tue, 14 Feb 2023 08:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4rNr92XTYh05KMDRB3D1RMUXt0CcOrUeKlehf1w84Dw=; b=eGS/GKZasLaCyDyDzyFSTvZjaTBHqH2BjuYt3cOgTL3as4epkjhnwyCVQCTGUrBr4t GN5h/WQGVYfhaouR2AiSF1hOcoyHQ1CJqsp8GfD7XLvUDwSdKVtcELnQaOBlTdQ8I3SR bhXLVsSBpIUnoagfCDAOiPs+E2SADfaMC5SyC2fx81FQWFBwZ+0RRym8+TdmRzWFQJJq fD1zcioIY7nP0qdO4aQOnVvBRDMSDsKG6e+sG5OnMsphypPvr0qJhPhS3qI0ALmbiL5w z3g4kiT4K7jBriajHagxng5lsgvVSxly9teRG6vMedZkPwG2d4d20YTpuZg9V4Kl/9PW M8dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4rNr92XTYh05KMDRB3D1RMUXt0CcOrUeKlehf1w84Dw=; b=7wdT/W1eSgvBBAp5puYkw0bVPuFJcvdvy9MbXv2e5M7VTCUVL9bgjg3FFQmGxfm/p4 /Hpz8jw0nxt+ZkFF4C7nSHkej6dgrxzCiuu0rrNzJu6CpVnxAq0+dI5+C9OL8cmAjuVP 8FGD9yoZK32jo8z7F9W4iwCA48h7jrV2le7tN2Dfeu+Bu25uTchuWqkO/9Ae35BeaZL+ Uj5YimIozYBJLa6wSFWabpPUoaytftTDn4Ll3rLa8pEqW8k48k4j2Buepntdf4TsJLTZ /aI5QFno/65CNjZn6qlckENV6Vgy0UoHjOorp5YxIXzEL46uw+w93IrEQY2/p7HAjrQH Mk1g== X-Gm-Message-State: AO0yUKXlDkmBHb4Kem+iy6V4x7u7NmMLrQli2FHHAVG2tM2oR6JTliEb wa4jXZnXNp/1qVvx9kLuS+D+pQ== X-Google-Smtp-Source: AK7set8OekKNKPZrJD6Erszgio47nQfQFRzRUuX0ixitHxZt4KiGpal97BHS1ZphbkRm1eibaOjC0g== X-Received: by 2002:a17:906:e2c8:b0:8af:4327:cf38 with SMTP id gr8-20020a170906e2c800b008af4327cf38mr107709ejb.26.1676391136162; Tue, 14 Feb 2023 08:12:16 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:15 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 1/4] ARM: dts: qcom: ipq4018-ap120c-ac: setup serial console Date: Tue, 14 Feb 2023 17:12:08 +0100 Message-Id: <20230214161211.306462-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the required alias and stdout property so that kernel can setup the console based off DTS and not have to set it in the cmdline. Signed-off-by: Robert Marko Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index a5a6f3ebb2749..38efd45433da5 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -8,6 +8,14 @@ / { model = "ALFA Network AP120C-AC"; compatible = "alfa-network,ap120c-ac", "qcom,ipq4018"; + aliases { + serial0 = &blsp1_uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + keys { compatible = "gpio-keys"; From patchwork Tue Feb 14 16:12:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13140467 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0873C64ED6 for ; Tue, 14 Feb 2023 16:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229514AbjBNQMV (ORCPT ); Tue, 14 Feb 2023 11:12:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbjBNQMT (ORCPT ); Tue, 14 Feb 2023 11:12:19 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4D346B4 for ; Tue, 14 Feb 2023 08:12:18 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id jg8so41372168ejc.6 for ; Tue, 14 Feb 2023 08:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CoFprvw0esXR9T/oy/C18QmLGugMs18DWBdKBHAG2rw=; b=OKirlgqq4D0Ms98OLQSfnSp3h7CG8JOy27e3g1babPH7aNuSpbH3ZYG5MncS5IVsCS Im9Im8r9QnbGMqbIvEKctFWzT8BSTJHGrPZRkTtIX2TkJdP1GG9KUdkGRrdEy3XaN1Wq mocpiFRc3N3OGGMhIpxebl8cTqZ7ehzHqC1k9Kpyja20mFJP/iIJkxnoXHU1P+jtDYfr A8N2o7yYGKNgA/jjSDrKYg5/C7tl7xZYu4o3f0hJ1mYJ2crwH0VpGOU02vc4Kqi9hZEK l4KNZvt7PCbWBxo2WIeLGKR/A7lM4Nh1PExhQNpSR+MMqHNcbgZC147P8w8cqE340Fa4 aYyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CoFprvw0esXR9T/oy/C18QmLGugMs18DWBdKBHAG2rw=; b=FjjvuePCBG9N7KUjWybnTLMexBcbEHsJwJ67IIk0WAYgfdqm3w9QCS06xlBsDGacOt aEfDU+xlWyNWGGn08f1M3vS1sTJR4BLfwOv/xtc4DmBDH44F/WwXETXoCSGFuvwBegvM 8jYJj4dRPjd/vr5O4DxULd0zRV2MMWKMpQwoXcbbeVQDCBwEkghfQ+zUDRW/yXWotmeT A4x7k5JIBcC/DgNsqxp4mNlr07iBBSgHJRcfWVmzI36ICg1dMlcRSK1deuVpgW676W6z U7V1k47I5r9HwSsp3UN6tcbBJrVKzMBStnrwBQFWlh9mSE8jxh8mWxcoAaIcSqb0Q29Z v9sQ== X-Gm-Message-State: AO0yUKWDFne88fKDt3Rh6iozaqwxyHf1VTzdVifU7l9qDJC4mD+M996v WKM2WC9QpBSEnUZf01pczfIIpw== X-Google-Smtp-Source: AK7set+l7/awNleC5TDYRG+ZuD7rI0xqYlFbVW4627GHaP9mscFk71BN21zczWA9Um1U0Gb/CT36CA== X-Received: by 2002:a17:906:f8c3:b0:8a4:e2aa:6cd9 with SMTP id lh3-20020a170906f8c300b008a4e2aa6cd9mr3582528ejb.19.1676391137232; Tue, 14 Feb 2023 08:12:17 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:16 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 2/4] ARM: dts: qcom: ipq4018-ap120c-ac: align GPIO hog with DT schema Date: Tue, 14 Feb 2023 17:12:09 +0100 Message-Id: <20230214161211.306462-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214161211.306462-1-robert.marko@sartura.hr> References: <20230214161211.306462-1-robert.marko@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Align USB power GPIO hog node to DT schema. Signed-off-by: Robert Marko --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index 38efd45433da5..cd2a32d0d5548 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -76,7 +76,7 @@ mux_cs { }; }; - usb-power { + usb-power-hog { line-name = "USB-power"; gpios = <1 GPIO_ACTIVE_HIGH>; gpio-hog; From patchwork Tue Feb 14 16:12:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13140468 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0D75C64ED9 for ; Tue, 14 Feb 2023 16:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbjBNQMW (ORCPT ); Tue, 14 Feb 2023 11:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjBNQMV (ORCPT ); Tue, 14 Feb 2023 11:12:21 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC0906A74 for ; Tue, 14 Feb 2023 08:12:19 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id qw12so41399949ejc.2 for ; Tue, 14 Feb 2023 08:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QSSJt+kS57U0b/aHhy8b1Fqf1a7DeUwwB+89+sI4SVk=; b=QsrTeUZSVGH9EShX9wKA+T7kbQ2HkC8lwKIvipZSOz4e26YMdLsxl4MsiIAxumiPLD CMXc5emgp1c9PzkGQzf7sOE2Rh5HghYo85DWydqaJ2QqyJ61E3o4Q0tGUCp0ZRvWvUpx 7v3WFu3uWWZcQk72Yc0/86/Fto9lEKREjx/Igmz9pGKUU7OBxgohzb9cx2p29LkmPzj7 u0d5Z7JSGRyfoJsrXDvG5H87GQWA4LFimX+Adt91LDU/7h1vhSviS62WapmTDCApWu5+ m4BQdrlsfHEyhvSfKy63Vv8euEdz/16iM2EIEoacMcmJSibGQk+U2ytmP59kw/ix2jzi oCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QSSJt+kS57U0b/aHhy8b1Fqf1a7DeUwwB+89+sI4SVk=; b=CJ7lAEDgV3vUKChiuSaFcLsx7oB311Y/u2DNrdALvi5km5YmItm+wctsWAMooae7KU XuDW2W7edPelpCSxV/SXjSdyiNcW6Lkr0PVV1siXQ9nH2+yPMYC19YzO7DGn3k4XIKZk L4ud8OhEbkyC/DKnzDL+hCxySuD7Nlpmp9s0nkJv/fqJuPgEmROJOVc4rrB7g3XtIdHU Ivn5bHtHFXbne5O9oI0mN3LUclxK9utVKLb5uOSp6EFF33iWNlZ4SRihVg7mYwPyfZ3Z PmsnbJlygLQ16Eb/+6ONuZwd4iBf5onRORAVbMgveGdhn94bOSRxnbMxbB1tCM0kmY6j FpwA== X-Gm-Message-State: AO0yUKWyboW0ptpt4HGikE7vIkbIRar2dYAZK7hj4KZFrWeKwcuqJqjt LYqZPUbX9/9bXZyoip1K+c8gJQ== X-Google-Smtp-Source: AK7set8CvtgB6lgS8atTtIoeVZSiaBuTr5BsZWys+evJgwp5Xl7FFGgfJIXV6FssOtro9RbVbZ8duQ== X-Received: by 2002:a17:906:52d5:b0:886:7eae:26c4 with SMTP id w21-20020a17090652d500b008867eae26c4mr2897375ejn.5.1676391138332; Tue, 14 Feb 2023 08:12:18 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:17 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 3/4] ARM: dts: qcom: ipq4018-ap120c-ac: align SPI-NAND with DT schema Date: Tue, 14 Feb 2023 17:12:10 +0100 Message-Id: <20230214161211.306462-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214161211.306462-1-robert.marko@sartura.hr> References: <20230214161211.306462-1-robert.marko@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SPI-NAND node name should be flash@1 and not nand@1 according to schema. Signed-off-by: Robert Marko Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index cd2a32d0d5548..bb0c888b048ec 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -186,7 +186,7 @@ partition@190000 { }; }; - nand@1 { + flash@1 { compatible = "spi-nand"; reg = <1>; spi-max-frequency = <40000000>; From patchwork Tue Feb 14 16:12:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13140469 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39DA7C05027 for ; Tue, 14 Feb 2023 16:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231773AbjBNQMX (ORCPT ); Tue, 14 Feb 2023 11:12:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbjBNQMW (ORCPT ); Tue, 14 Feb 2023 11:12:22 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8C2D2D59 for ; Tue, 14 Feb 2023 08:12:20 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id jg8so41372455ejc.6 for ; Tue, 14 Feb 2023 08:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U7FmuUYV4i+tUiEr3sQgj1FjRrcMIeNDDjtwxcnomOg=; b=ChWsQKERNUzcd/oJs7wTTCOMWypEqtx1FKjgOWz7kJ+kkTcf4QMZwOsyT4AmKiepR1 wmxrLJ4iRxvFe0J1XGA2Z3esLkJoV7N3DC8zgmX0k29BYLjTY/Ai2/kwEJhGVOCreKAR yMGNAxkWetCgLSo4NI2y2Ba1GE+hwP3q2eDmOrC0f3ytM/gZaoK14SdcyfaWtnudMzOD RlwTWR3t6HnEyuw05f6HCN5WDFn9wi+EeeZj/Cq9Tt3N+ahT2cnQunaABSIXajZLoYdH o97szoafzgzU6RlKejoU8n1dWmjfGPFSVfFLoQtuOpJwAx698Mw6iZ7NC2NDQiiYZqlb rjvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U7FmuUYV4i+tUiEr3sQgj1FjRrcMIeNDDjtwxcnomOg=; b=w+ptvu1yn/i9fVZJ6hErtaqvB3FXvgVjih9Hct8jvaC6XI2UC3OJhsWcd++2n4frCH 17gMcvUcedydIKn6CpSOZ60V4ZlMKDxOzSSz4DEKmtgvlttt2d3qDMlp/74Zas61ttIw xVtYx6BIDlBQ9Gf5EpNlsHLU47U5Kl+EAZ/Xvi3pMmbRfVjA6dyRDXG/YEEpidikKZql 89OUAUCnm9tlhjqvKEbr/+7utt8Y8918ggYL4v8MDLEKZ2KOubQ3KjygfuJ3+wN/ob0P YzKDhFOD33d07Qpyq7znp1RvzS604y7FBQH2fVzVHEp1pDvUihZzwbO6EuOy0O6tisZT W0DQ== X-Gm-Message-State: AO0yUKU03DORUHS+3+WNyj5jajCknu0OzsCEPgdBQhe2axfv8r+Iilo/ MIy3e5RmhaWrZEbopWnPlr6I/A== X-Google-Smtp-Source: AK7set8I/5R1R2ISxCMl/lGAba1E4D5oDFL02UTwyH1kszy4po+MhCYWuX1EWAPCSKb5IDTUW9p5Zg== X-Received: by 2002:a17:906:8410:b0:8ac:f02b:7ea8 with SMTP id n16-20020a170906841000b008acf02b7ea8mr175787ejx.6.1676391139426; Tue, 14 Feb 2023 08:12:19 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:19 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 4/4] ARM: dts: qcom: ipq4018-ap120c-ac: use NVMEM for ath10k caldata Date: Tue, 14 Feb 2023 17:12:11 +0100 Message-Id: <20230214161211.306462-4-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214161211.306462-1-robert.marko@sartura.hr> References: <20230214161211.306462-1-robert.marko@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Since ath10k now supports loading the pre-cal via NVMEM instead of having to use userspace scripts, lets use it. Signed-off-by: Robert Marko --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index bb0c888b048ec..d90b4f4c63afe 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -170,6 +170,17 @@ partition@170000 { label = "ART"; reg = <0x00170000 0x00010000>; read-only; + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + precal_art_1000: precal@1000 { + reg = <0x1000 0x2f20>; + }; + + precal_art_5000: precal@5000 { + reg = <0x5000 0x2f20>; + }; }; partition@180000 { @@ -233,10 +244,14 @@ &mdio { &wifi0 { status = "okay"; + nvmem-cell-names = "pre-calibration"; + nvmem-cells = <&precal_art_1000>; }; &wifi1 { status = "okay"; + nvmem-cell-names = "pre-calibration"; + nvmem-cells = <&precal_art_5000>; qcom,ath10k-calibration-variant = "ALFA-Network-AP120C-AC"; };