From patchwork Mon Jan 23 10:16:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13111918 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 189BDC05027 for ; Mon, 23 Jan 2023 10:16:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231981AbjAWKQz (ORCPT ); Mon, 23 Jan 2023 05:16:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231806AbjAWKQz (ORCPT ); Mon, 23 Jan 2023 05:16:55 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA0622026; Mon, 23 Jan 2023 02:16:36 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id v10so13920359edi.8; Mon, 23 Jan 2023 02:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CutNyWM0IkRzqeYC5Zdvw1NAJVSyaXdgC4t26U3nWNs=; b=GUliwSNYyecVJiov7UaCNPigt2dgDarkQy09vEfsmYug0Y+Xh85Wm2PXcyitca3zls 1QDjqI8P1rjVa8Chc8PGCfmsJ2bMrDkXNrhuzpMHsQyvBX1eufBUA74iTKmlfQJW/Nd7 lXmo8tCA4omPCzAGG5W8uChAwOG+anH1mp9h9dPEkXSEHxemXoerdluhN3b/77G91vAD NlZmEP8xEK09ib7q/V+kiBiUc0+WViL401lo9rc+hkaR7Ncvw8+qa82iiVoMRktBv6Y3 HyR/8QnDPnbOenN/+p1azJvEgYHskQfN5Sz5C+11IKAOKRaTi2xQRkglRyeHjia2/Owg xwug== 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=CutNyWM0IkRzqeYC5Zdvw1NAJVSyaXdgC4t26U3nWNs=; b=fMYU15wUGirPuknZCUSHtaONnvuorayA1/ebsJ3YBfIyONOjBICafPJYA1VkyaxkrK 6gK2hdtYfb5/7yizmBoRq9OkqvT+oJ3qwNAqL1+4f3X4Vqaz9QfPXgnvorl6ah9zUHYL ZZ9Nw078w/boLgO9rBemlRijsz08wtwATx03BPNa0r5RHTqX2Pbq8yqnh9ofyvgkbIcy /4vDSMfQ2zf/t++a1jtiaQDEC29OxkCZiQDYn579vwYkaVsPTWfPWEf6pMB232sv1r40 MH61aDt4rD5RnmzdFBAukKbyiG2XZJIRG4IjlCp1+HrkFrQZZ6AKsJuGpCcj1q3QjsOQ cYwQ== X-Gm-Message-State: AFqh2koFtbZ6zZtWXJsGL/bxaC5jgedoD0nVY9cFgE/MBmaJV74K6br5 PEasYW4WHKI25KZqpju4MME= X-Google-Smtp-Source: AMrXdXtnqJudWy9cL9LkX3ZbUCn8NQ/5R1lx/2GJj6MFTJ3gkkpBklepo2MjsNPty38jO/p6K3QYrg== X-Received: by 2002:a50:9ee2:0:b0:49e:e12a:a216 with SMTP id a89-20020a509ee2000000b0049ee12aa216mr10563274edf.6.1674468994397; Mon, 23 Jan 2023 02:16:34 -0800 (PST) Received: from fedora.. (cpezg-94-253-128-151-cbl.xnet.hr. [94.253.128.151]) by smtp.googlemail.com with ESMTPSA id m15-20020aa7c48f000000b0049dc0123f29sm12579125edq.61.2023.01.23.02.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 02:16:33 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@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, quic_kathirav@quicinc.com Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v2 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible Date: Mon, 23 Jan 2023 11:16:30 +0100 Message-Id: <20230123101631.475712-1-robimarko@gmail.com> 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 Document IPQ8074 compatible for QFPROM, its compatible with the generic QFPROM fallback. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Changes in v2: * Add ACK tag from Krzysztof --- Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml index 9ddf3cef9e84..2173fe82317d 100644 --- a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml @@ -19,6 +19,7 @@ properties: - qcom,apq8064-qfprom - qcom,apq8084-qfprom - qcom,ipq8064-qfprom + - qcom,ipq8074-qfprom - qcom,msm8916-qfprom - qcom,msm8974-qfprom - qcom,msm8976-qfprom From patchwork Mon Jan 23 10:16:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13111919 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 1685AC54EED for ; Mon, 23 Jan 2023 10:16:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231991AbjAWKQ4 (ORCPT ); Mon, 23 Jan 2023 05:16:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbjAWKQz (ORCPT ); Mon, 23 Jan 2023 05:16:55 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF027D99; Mon, 23 Jan 2023 02:16:37 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id kt14so29134129ejc.3; Mon, 23 Jan 2023 02:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Ne7laZb1v2Bqbj6brLBa/Nq0CF7MhBrYeAZ1Rknt7PU=; b=MDrw8EC56uJUTpWXz4zqWZ3xCO1EeCmiB5N4OToQkcepvcpPSFsJ6VS7SgGCgKyVCa rWJhpLfgDXmxWr4gvsDvs+8L5Yo40IvZLmk2MYDFsUG3mUK9SO7HzQ1UoSh7Wafel9TQ BN/44+qkIKB3WHnA6i+bvjzXI4eaHWXr2M96g6eMJEEK5Btf8guWLlncfIH9JA8BB27s LiUSIiaEv2mKaatvvc3iG6kdtBJMGLKaHdD7w+WITGtkbqbuqxZlfaWrx4Qru8lpSmSm vNji9iI29HW3haWD2iXVQGtsrZ1c84/c5QtOxgPdImoi++hi49b+INsM3EYrJhBVqA/U 6oFQ== 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=Ne7laZb1v2Bqbj6brLBa/Nq0CF7MhBrYeAZ1Rknt7PU=; b=ss2q1/OhYOU4ZCCuWAFvFw7Qmtt/NRYUuuRXpFggiJtI39eNR6EyPSPeswViPvJxQK t5WLh/JM3YYjaY4TS1Xgv4KFTBaRxME81qGtHolbwUerAkw/qwVOfO77EEYrhReF0+8c NBKdOYRCKDKGq9nBXYHlnkV9Bb9at7gJGbaaQJpBkeiZLWcU7Ge1IBT8hphdWczD68hQ FE6xiG7KvP0mZkcCabJXo+ws9hP2qUgbLtVz4pgIKiFmCZ8GLngqcCVZOvXGLHnQhGl2 88EkQ2foZ+9NPmCwD60F/t0YIL5p6UNNFp3DWdSSjbntfCZWQphgzHCR2ksE8vY+8zru 5hQw== X-Gm-Message-State: AFqh2kpZ+5SHBbsTE0KlzZkfXuHUJ4ZPxlHQb5XyFX8PNRkEhgT+WLpZ hibzZm65mtDzN4eSubai3xA= X-Google-Smtp-Source: AMrXdXtYSv+WHJfge/QRmmysi0IUo7WvlbnlIkPcWqPYKjyjtGX8xPb2vvrEX0OrkEWseWr5KepPGQ== X-Received: by 2002:a17:906:6d14:b0:7c1:765:9cfc with SMTP id m20-20020a1709066d1400b007c107659cfcmr38761622ejr.34.1674468995615; Mon, 23 Jan 2023 02:16:35 -0800 (PST) Received: from fedora.. (cpezg-94-253-128-151-cbl.xnet.hr. [94.253.128.151]) by smtp.googlemail.com with ESMTPSA id m15-20020aa7c48f000000b0049dc0123f29sm12579125edq.61.2023.01.23.02.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 02:16:35 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@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, quic_kathirav@quicinc.com Cc: Robert Marko Subject: [PATCH v2 2/2] arm64: dts: qcom: ipq8074: add QFPROM node Date: Mon, 23 Jan 2023 11:16:31 +0100 Message-Id: <20230123101631.475712-2-robimarko@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230123101631.475712-1-robimarko@gmail.com> References: <20230123101631.475712-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org IPQ8074 has efuses like other Qualcomm SoC-s that are required for determining various HW quirks which will be required later for CPR etc, so lets add the QFPROM node for start. Individidual fuses will be added as they are required. Signed-off-by: Robert Marko Reviewed-by: Kathiravan T Reviewed-by: Konrad Dybcio --- Changes in v2: * Enlarge the register space size due to info from Kathiravan T. --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 8eba586065a3..ff59a2f38293 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -301,6 +301,13 @@ mdio: mdio@90000 { status = "disabled"; }; + qfprom: efuse@a4000 { + compatible = "qcom,ipq8074-qfprom", "qcom,qfprom"; + reg = <0x000a4000 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + }; + prng: rng@e3000 { compatible = "qcom,prng-ee"; reg = <0x000e3000 0x1000>;