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: 57094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3068303wrn; Tue, 14 Feb 2023 08:15:57 -0800 (PST) X-Google-Smtp-Source: AK7set82eMp5HTL1P21/gYdyb7hmKMaKY3nPBUB7xrVXQK6CypIV8rZwjibhjfqjJtNQZ2nBD/gh X-Received: by 2002:a17:90a:186:b0:232:eb1c:891f with SMTP id 6-20020a17090a018600b00232eb1c891fmr3073307pjc.14.1676391355658; Tue, 14 Feb 2023 08:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676391355; cv=none; d=google.com; s=arc-20160816; b=G1axj+X0QuzcyH4wtZkw6wK5TSx/TH7gEKbB/PuG6NGsW+fOkKnhjUIqBfQWjTABnP ujdcnNfKIK7oEUjejJlhgxeIbR+6r6g9M59+F5JDRdenzJnIQFnufPcw+Zk/RCOgPypi MmMiLQjeLrGza3ZizRDR1xpqRg7a8UDqCSY8EQN61M/f+wW92wJq+OcqGLgu9crn9nR8 3CdVeZ8VZEukneBu+yCIJNZ39W6v7kHts1U5Waocc1gTKiPDNOCDv64njk+W4GrqlQiW ET6tW0Y9k+0GLrVudSZoAvFoWEJn0vSE0JSt6DIhq/WqzJfPkbziRyVojJeP5B/dk1Gv Q9Xg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=4rNr92XTYh05KMDRB3D1RMUXt0CcOrUeKlehf1w84Dw=; b=mtk2c2tufStGeZ2RUQmspcXZ/MiOQx3TzExizOykHbSElYdnb6ERFetg7hrgs7jg5r VNCaQlS3CJMs/Xx4d09DA5/h9uimOSHxNLJrnvXw1AYP/ZvOLRAtqKg0y0VIYkDUML10 MktQIgJiYiN+gf/V+ZsM7hIH+iuHy+9RUklKZ6PaN5R6qqifKR1JG44iGUvglzejeTa1 R2tz5EQ6147f2QqP6Ifz7gevCp7HqGBxtyeSXuIO+USmUZoqG7Z3jbRXn330BUY3KhY+ 5InKWqU+8gPqV+EwB7/T6BWS9wKR0n/ij7Bq4vnVryqJqGyHVTZLAHYusAXHyKT6boS9 GJPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b="eGS/GKZa"; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v7-20020a63b947000000b004fb44542da8si15212255pgo.811.2023.02.14.08.15.42; Tue, 14 Feb 2023 08:15:55 -0800 (PST) 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=@sartura.hr header.s=sartura header.b="eGS/GKZa"; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjBNQMW (ORCPT + 99 others); Tue, 14 Feb 2023 11:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjBNQMT (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 8F35A358E for ; Tue, 14 Feb 2023 08:12:17 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id rp23so41339012ejb.7 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=FIRBqJETG+JYnIIGim8wWtW+98ZGL1OheEFXEEeXAdg4aNltfK8gsxLMU4HbGaokn7 WUyrgdtHdEORIxqNiEOOLo2ezEI6aBpBaTBsTHedXe2Eszbl01kow1mHrIlHvbMVvI2Q ZWh4TkgIjLdsg/ZGtlolwwsg4fzAxoie4dfrhvDgJ5oj6xTshWfmOQ5C0VqCLqZa/M0h e4XfGYd4eXR/35Xc2xMwwEz0j4XwCy2PAhC4WWe0IRoH/1qIbBFBzmN9ckiYEKqDEd7J iUq8pq6ZVOs3vFTtYsqV1/9F900OY5tvkS5x8d3KlpkXM89g/4EbJLilFAQsjm5TAhnM zaaQ== X-Gm-Message-State: AO0yUKVoiQpyipjW2p8ebHDcIPRCxprkg/UaEth3X64GSBUK/0TmsIcG uSoRJCNOYxVXkOaAm0P8LvhfUA== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757823742009500028?= X-GMAIL-MSGID: =?utf-8?q?1757823742009500028?= 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: 57095 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3068481wrn; Tue, 14 Feb 2023 08:16:12 -0800 (PST) X-Google-Smtp-Source: AK7set+AIgM3PQI6BfdDV1f8TGG67EfzVYTOaPk9qtfle2duIcktLmv1cD0HcAfBJzqjnD08vTs2 X-Received: by 2002:a17:90b:3802:b0:231:24c1:8019 with SMTP id mq2-20020a17090b380200b0023124c18019mr3077905pjb.15.1676391372644; Tue, 14 Feb 2023 08:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676391372; cv=none; d=google.com; s=arc-20160816; b=m60tZ6BDkGmx5/0Fd9vhmYngp5rExdrVBGBO8HEHOP+gvkj4mazyZlbIefRP4cFz9C uN2uVxzuyNhLMxTtmWD7bRtxZ6iwIgp7M/ZSvdbx7z9UHrN6zyCFgvU5lIqPzfCoX46k z8NqilZjuH1sqhbS8AHXdML8Furdn+CJKWNtSABJMzHXdGIPQBzhiR8JM5bbV8hr96Ps oThwUgC/mawr5Widzjjr9hcX2FaIrsFxrdBRtkyownAOJHvKqk0J01H61DYIO13dvcg+ S4+LkH48+NVaQCmRPKDlsY2Yv2l5kGdCtT3vbOWahCOARMTV1lsrFsm3UPKFneRQDRI2 qh9w== 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=CoFprvw0esXR9T/oy/C18QmLGugMs18DWBdKBHAG2rw=; b=ExTfSmljVbHQ9mKHSQmkC0vrigvtL06Q9mkVymNAV0AShjXD5/HXhGf7WyJhWTQy7h NqD4wilcIPfdv0lR7jWK4NFheyJApibRIx7BlZ3weehSj2o5OpTCazeI/za+8nxNcXhn qPSIkgtXUWls/Vc0/ci10+M1kr9Dtsl2/jdj82TfC8UJF/fnD1eppP8QDOubaKNUs6kV d73fSAv3m/ZA3ls6UwQVOHkU2WK5aoSD4HaxqcUTSTpURxhgwIMqJHCkxdqMts/1p3IH wT8PAsmd8ARN1O6HnFGnQeltU4t22xJTlMxGdz0oMGByNioa95PYn7SfGp8JW5hTilvR sdVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=OKirlgqq; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15-20020a637f0f000000b004fb8d952110si8266297pgd.468.2023.02.14.08.15.59; Tue, 14 Feb 2023 08:16:12 -0800 (PST) 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=@sartura.hr header.s=sartura header.b=OKirlgqq; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbjBNQMY (ORCPT + 99 others); Tue, 14 Feb 2023 11:12:24 -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 S230054AbjBNQMU (ORCPT ); Tue, 14 Feb 2023 11:12:20 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A241655A1 for ; Tue, 14 Feb 2023 08:12:18 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id a3so7333997ejb.3 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=CerogaOD9uqQhlyURlEBWsR+m/xLhVtHtXRh+A707x2cVNt86iVxQYS2Tx44DM3Mjq sDSPrEiRTagfaRpqptYa+qYVFwmvz0ijUOd+vKx9Ye7beUreKg8RGY28FxNtUDo0SZfF aQ9CS0Ue1kxlwvj0Zeql5DJrnlLVFu0fKimPWsP5jCyTZ+I4n/+zOEkAjRE4L6M3ixYu txEG1TjX2neueA4aJF3IH5wMhjkg3DZcZFZRKEt/MpxfPTYhI1czWKT7ZFE2w0J+/kPN 3NpJQ1abdUeBoFGWM414ONIvCeIVtkd+t7Iy8OZOPH5VbcEDKJso3E84w4sjxbULj+vd 1C7w== X-Gm-Message-State: AO0yUKWbAvXw8f24LuRjnpvJ/bpdqt+sRP2YehPDjzoni5LCPwstJGbu Y2PZWq/8VTm5wOElE7sVcoAtnw== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757823759709004482?= X-GMAIL-MSGID: =?utf-8?q?1757823759709004482?= 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: 57096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3068774wrn; Tue, 14 Feb 2023 08:16:37 -0800 (PST) X-Google-Smtp-Source: AK7set/GtuDgaLUlbgiNmDyoLipuFUK1Rxl4p8eN7g44qLUrn6kFRkpOuS+70qVIeBVeAYEBnNpQ X-Received: by 2002:a50:9ec8:0:b0:4ac:bba6:dab with SMTP id a66-20020a509ec8000000b004acbba60dabmr3230012edf.38.1676391397388; Tue, 14 Feb 2023 08:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676391397; cv=none; d=google.com; s=arc-20160816; b=J9756qKYtt3u7ilEIcG/NkXF+g2XItPqEn96DAZOO1sA5ivh0e32oeawCc0vvu8lNt UimDIeyndnz+A13Znj9IRZW3nJ9QKaibvDiQtlMcaeyugGRjFzN6LOTvZgM9MX4bY/GN OAzBvzposSKRk8wynWDDx+YTlqoybJcYxEDwAhG0r4+ofDnSGa+BJP50eqnmQhMAXn/G QgaUZEubTzNIBInWOHY9kh+eKiCWZih2hsBnXMmuMBVBOd9px8TXTqCW6n529PYM/PWe YsiJdcdqoD9jexPh4G0Txo3lwVZPCR6qeGCA+J/Q1u50Y6PcnVuX7TafUYsSXB0T3yAR HapQ== 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=QSSJt+kS57U0b/aHhy8b1Fqf1a7DeUwwB+89+sI4SVk=; b=lgqRP2EWiYkg4VjL9g8rWtwQC0Ev/VHMRduNm1clEWAUG/gzdPw10AAol0cd+RFAE0 Lc9H/kRWX8mILR35+IP9JGNyw6O9bTylnnd08wwkdcNU8fi9wF5AsOMuhKKUmJ/k6tOw NU9mBXVbq3WYoecx6Za9/oclwef3FZjfmjh9NVdciECf5+ZvHgF6zj8QvuXrxGSFxNk3 xnQE1e9eb+RwrazY0ms2aEzhhs/UsWIqw2oqJSSpNiaolMCHSxTaxgVgI3SCPq4fNVpv DrKi+p6ip/o/MZDVj+5qsyLMkzn5/B59taOAynLd6P2b+6/FShaYmC8thZFwHPuUAjbo NCzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=QsrTeUZS; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020aa7c7d1000000b004ab4da43550si13094372eds.250.2023.02.14.08.16.12; Tue, 14 Feb 2023 08:16:37 -0800 (PST) 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=@sartura.hr header.s=sartura header.b=QsrTeUZS; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbjBNQM0 (ORCPT + 99 others); Tue, 14 Feb 2023 11:12:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbjBNQMU (ORCPT ); Tue, 14 Feb 2023 11:12:20 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D185D6199 for ; Tue, 14 Feb 2023 08:12:19 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id gn39so3041387ejc.8 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=z/h5kU0/49xgF8uzj56SVGotTBBG9voXsz5Xj9D+oLd9lwk7q6bHa05NN1IFkxKxQx zOzTmYeNPGoJN3FzqxaS4a+p19iXp+nZAGXVthR55t6IKEv6OhWrEZ8g1TgvnoSuYvu5 kyRUJCBWLmkzbYj18c7EJz1UHMn4pGxdmWmVsovjwI2qfb0V8pcQHyhIQhQfkZK4BF0X 7av+COLxXvJwuZ4ZOFuXHrjTPyuj2HID1UAak8bxUa2AhugTFGFR7KwO2DLjqeSmAuz1 pjyZcPKf44OWNQMlVS00qXqdd9yu/ksg3RpV3NXCrPfzWQn44tnbHB+Hb3atayt3/67l /zCQ== X-Gm-Message-State: AO0yUKUbP7fhodNZd//tvKRft9Xp6LgKz8vRwiJC9SIh9JyLFjJyUv8/ AY38H2wYhheVF0103oZtZLQJVA== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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?1757823785384870843?= X-GMAIL-MSGID: =?utf-8?q?1757823785384870843?= 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: 57097 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3068881wrn; Tue, 14 Feb 2023 08:16:45 -0800 (PST) X-Google-Smtp-Source: AK7set9jR2MHobPTembuk/hR9tbe4DZYVyPjYw0I41EjBXYtW6n74IK2YgK1ftAAkEFtivRNr7Ls X-Received: by 2002:a17:907:1dea:b0:8ae:80d5:7385 with SMTP id og42-20020a1709071dea00b008ae80d57385mr173601ejc.10.1676391405457; Tue, 14 Feb 2023 08:16:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676391405; cv=none; d=google.com; s=arc-20160816; b=IZyC2iLTBY7tj5Sew8YYTzOpbOx7tOTK/eK83yzSA0RH3WarqRuQ+awYCvoOMMFcur krSeHh6aKObEG1E9ZFGk+NMHabHGSqPsl+O81YgbQWyQL3Rk6DUIrT6KVM+y82HE4ooI i7pI+b94REUvnsA0hiiGO1q9oaZOuVVuJ451TZLEhCZVTXOFQQXd0pXP9PP5UZk/mNYo zPKMYwljubt9PaEYduOz8bzSEEHW/5DqVzX6hGNz/dLQv3aqTzMkCWmKRxEfg0Cahvr8 jRhVxviyr1s4X4XRIm3kh6PECjEewAXbVlv2CpNzhQF5l1zKQcEwjyrfdYbEQeNemZGa ydbg== 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=U7FmuUYV4i+tUiEr3sQgj1FjRrcMIeNDDjtwxcnomOg=; b=gT529Ys5WOzkM6xkXcXSih9MczDDCHnho0M1t0WYM5mQ6zp9yxWDdtBlniIot6HA07 MyQJiUxeBjJDy7fQ26adiCCKcodyIwVz83eqZqxMDK0c38MTU6IMt+B6qR1tiuQfY8qB Y9HK643mEsaJcttAFx0CxYIhU7/pBRwB+g4+MmOQyMZeBqjhx5edS9BIAAi5axairD79 OtjJ5Ur5ecVgLnwXgWAAGSMevS7wfXcX1KHJb2vJxGck9zYlOHxtCY+iY+D3uOhn07LB 61KFA8dF8nNnNLesMs8MhdegHaKSePWogrjNK+d28+LC3QdAFjUmEyR7p/MIE9wLdgnm //YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=ChWsQKER; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v25-20020a17090610d900b008b1381ab7a6si1031992ejv.455.2023.02.14.08.16.22; Tue, 14 Feb 2023 08:16:45 -0800 (PST) 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=@sartura.hr header.s=sartura header.b=ChWsQKER; 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=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231915AbjBNQM3 (ORCPT + 99 others); Tue, 14 Feb 2023 11:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjBNQMW (ORCPT ); Tue, 14 Feb 2023 11:12:22 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8D4B358E for ; Tue, 14 Feb 2023 08:12:20 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id qw12so41400070ejc.2 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=ksStWb3PP5jHTAq/riVihfu6IIHjjv3ocz6oaMLjj80Th/Ti2eSnlPGtFrzkX1Re+i Yah2DnhA/gVl7h592Goie91hHvx8qYWvGyykLSgPaxiFUe/vbZtr+YQfYccjHLknb5A4 0h3xIb2/cerzA2OHcJ4pxHDodCIdGsTb+rg/WKFuULCqPaQkOhzbc5hWzgjj4VWv9m7+ FdXYQIWQwzDVVeiaGAOx5puBUHlMB8XoCuwEoiskB7l9sXYvGjady6nOCkU2EvhUdkkL 9usGE2VC4zEFvcsBTWCC6pj0PZxY1bMeSUGps7JsTDRxBY4RxrSmzDyL4mSxVlCA0ktf uelA== X-Gm-Message-State: AO0yUKV/Aob2hd4L9L5/Otap5/4QDp9pTQ2jsN4wzcKHR3fd23UKMAaj T6PFvEFPB7fU/VwJ9rr0bJ8lXA== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1757823794088071525?= X-GMAIL-MSGID: =?utf-8?q?1757823794088071525?= 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"; };