From patchwork Sat Jan 21 11:23:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13111084 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 BD9F2C38A23 for ; Sat, 21 Jan 2023 11:24:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbjAULYK (ORCPT ); Sat, 21 Jan 2023 06:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbjAULYH (ORCPT ); Sat, 21 Jan 2023 06:24:07 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B7F1A978; Sat, 21 Jan 2023 03:24:03 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id z11so9556207ede.1; Sat, 21 Jan 2023 03:24:03 -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=RKJUg2/VuVaRDNmWxbhDG78UOqpMzcjPsE81MatemVY=; b=hLuurZpQAzMNhhxxtWYP5opWmKzAHQ+BNF3HA1f+KqlnBpS2y0v9dg6MetfkqzcBxs rr9uKrN6qY4JDVESqfbQmOhKsreO2P/pwmgQOYrxLaBSSs1KfVGX5QJAJEJuqjGUGEkp znkzgPBL4fktfDEFatax7h0rtDMBiHgJlPLoBH3qUfKsOB3W8NFVWrXSucbQSONY7AID ZBXFA/tbIY7IGu+AxoYHt/r2UO8ZAxsRK+bkLpECFif3asBe/YOQ2gV4YMkFP/cIPSGC I8h5qV7EvogXyR1gVSjihDkPUc1xH5hwPKU5t/Dt4IY/4dya1ABUkRHV3iayYbQXYWpX KrRA== 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=RKJUg2/VuVaRDNmWxbhDG78UOqpMzcjPsE81MatemVY=; b=LulhXJVcMsvUw6vavFcYyNK7Bak4wXa9a1itdWyQehncfRlioYvxq/3uU3z2ROhpLn yljnoSAjnxUIoCgiRGIXn84oPpQO4bSuFdTOs9v9l8Ute03zKnMe1wyflcBf3FXrS8Pl ga8I3U7Qb6TMBNtHy0nAeu+QpC5sA6jSpKRx7WHWXbdvc3MmU07SCWV+jR+6yaTjYI60 CMIfc0ChjSAGPb+8JDcX8eJQgniNRO+6sai/dPLY4BtNUvGEEwGQ3SEH7r9yZIMU+o1D fHKvySbBbURkcYFrjAS7ynC3xA4arYPAaSSQnbmLGeDnakC85+u7vElNGnvugW492wAl TBEQ== X-Gm-Message-State: AFqh2krQtrz8JATOmStK9e2+MQfQuev6Es5uEkpkEbR/vX7XQt5j0OrL OiKJcdeB2ohDb4BjLfrfGiU= X-Google-Smtp-Source: AMrXdXtvmvbZPiSoWOpKrKOb779VWpXPyMwSmkpiw/lM80k1Mopbk7SIpEaFVkETG8kPVVerDiRCcA== X-Received: by 2002:aa7:dc03:0:b0:49e:1d4f:a9f0 with SMTP id b3-20020aa7dc03000000b0049e1d4fa9f0mr18291487edu.42.1674300242356; Sat, 21 Jan 2023 03:24:02 -0800 (PST) Received: from fedora.. ([188.252.220.152]) by smtp.googlemail.com with ESMTPSA id 21-20020a170906319500b0086faa5b06d4sm9236365ejy.181.2023.01.21.03.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jan 2023 03:24:01 -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 Cc: Robert Marko Subject: [PATCH 1/2] dt-bindings: nvmem: qfprom: add IPQ8074 compatible Date: Sat, 21 Jan 2023 12:23:57 +0100 Message-Id: <20230121112358.52216-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 --- 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 Sat Jan 21 11:23:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13111083 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 44A94C004D4 for ; Sat, 21 Jan 2023 11:24:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229617AbjAULYJ (ORCPT ); Sat, 21 Jan 2023 06:24:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjAULYH (ORCPT ); Sat, 21 Jan 2023 06:24:07 -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 13BB91ABDB; Sat, 21 Jan 2023 03:24:05 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id az20so19950973ejc.1; Sat, 21 Jan 2023 03:24:05 -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=HhM5qJGPxBSYXZ+6kwCdfI+MuMuQZtYYh38bbR24IOU=; b=Gp587WKzuBhzbJhcj2m7SGcQd430qD8dtMKAnx6sj6O0QsE49WPZ1CPsvrGhDEqN21 qZXip/tEt+qMo970kUUQvXWWB3wjqXqdeQgawc7EjAes44cIbsCLGYzj3ra2k2sS5rfd O92kJd2s2nwdDUUPHfYKP+f/3WEuaKXaFA7TRQ5G3UBZvYrKxZ+pttGoSCe5hE2LJtyA Vuuf/f40XSE2OqBh9cXCmO4ECeONQlHvPPkeGnJHqecelzlyX6hfOjhSZir4frM+9qD6 FaHNJ4W5LITdhuoo+CFuKFQ3RGri0eMxQb7YhUFmC1t8myqzwX00tRugt0xglht/g7Q0 I1sg== 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=HhM5qJGPxBSYXZ+6kwCdfI+MuMuQZtYYh38bbR24IOU=; b=7EQxvRaOSuE5YUb7AdIC5rahMG6CVmyvFhIMWLy0XT7jdKoohgL5pKSPtyXcYauKwP A5jVUF7fNiyzzKqQuCaN90ifM+SFfu4BS192mpwlHs49BIKYyrr2rKOaFjk1p/TBfO6/ okE9WwgcuUgLNpB1EPr0OjgkzMGTMTJE7u8OqZCGD8npyeNmFo33D0TztVoT2TY3Dm/s OTsNfSS//pzpnJsBFaEtyZQErxrbvc/jEWgs8/g+yHBIBgVKmblSUBA5oYkMR6g+EOSM dc8EdTk3vPcgOBHj/DnB6k+adYWV4zq5eR1Aivg/FttHJ637Dn7f1aAPoF1WsF8iOaRX /h9g== X-Gm-Message-State: AFqh2krIxiVIo5CAjPOomByGwqFHvaUOJwukCkls9rEbSRIQVw34uOKj vzHjnjW/F7dkd9ZBnGBYaY+DqAXEY2dRXw== X-Google-Smtp-Source: AMrXdXvwl7/IUyQSLPnO8/fs43tA3D0HTUPptMDflSGlEf2FKRnxs/R6MtyJxYwhRwDPtZQ34ME4Aw== X-Received: by 2002:a17:906:26d7:b0:862:11f6:a082 with SMTP id u23-20020a17090626d700b0086211f6a082mr17533322ejc.17.1674300243568; Sat, 21 Jan 2023 03:24:03 -0800 (PST) Received: from fedora.. ([188.252.220.152]) by smtp.googlemail.com with ESMTPSA id 21-20020a170906319500b0086faa5b06d4sm9236365ejy.181.2023.01.21.03.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jan 2023 03:24:03 -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 Cc: Robert Marko Subject: [PATCH 2/2] arm64: dts: qcom: ipq8074: add QFPROM node Date: Sat, 21 Jan 2023 12:23:58 +0100 Message-Id: <20230121112358.52216-2-robimarko@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230121112358.52216-1-robimarko@gmail.com> References: <20230121112358.52216-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 --- 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..f29491f647fe 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 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + prng: rng@e3000 { compatible = "qcom,prng-ee"; reg = <0x000e3000 0x1000>;