Message ID | 20230504200648.1119866-1-cristian.ciocaltea@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp603858vqo; Thu, 4 May 2023 14:01:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HG/m+KNgG7k6n3CRFyoNKcESuZpWxV5SF34QpEJQREjgqxM9nKrH3wZJfwAlRRS0wve0O X-Received: by 2002:a17:90b:1988:b0:24b:7550:d3b4 with SMTP id mv8-20020a17090b198800b0024b7550d3b4mr3622558pjb.10.1683234094568; Thu, 04 May 2023 14:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683234094; cv=none; d=google.com; s=arc-20160816; b=uJHwrC+NxSx6RumtGUIu1EJv1juODAHq4SEkLDMKEtTzaVUtwrva1kEKsz6sAggTQj ejhfZI5o7E9vm5EL08gwojGYK+Y6zWnZX01Cx+ihSqAsOQpSxGg1KUiTg5DpmY9InY5b e619Q1J2k6hLAcBsp9ee+1kTweNYdJFDR0/PF2J4G3Pi9nNjve23BTLwpJlQ2JV5NuKe F0ApZQ8X5vxBPiOIU3SjgwojqeIRmSea7jd3VBJvwol5TsRYygkWj0aN1Ozj+I94CnSl V0WOI6IouX2FhzHfmDhoRxGVZ59PLQJWxzbQu9tpTAwQq0iUWFH79bslt1DYbMcj9X1/ 3ySA== 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=ix4LuzWV6HQSWZI0qoWGusv8sB7LPmnskrgV46M647I=; b=x+XqKUGaoXUoJqW/kWA3s7CMAXiwWwBnwNI/jOdqQQ5aRA3SVQKIvZuV0ww4vXy3S5 hJoUJHa72YZtgOskeZflU8gT2irKIhZoZmA+l/ZGHoN3p2NwFAYD/EOsBezOxT81wEjr D2ZcCg1Qzv7o4gAbXRJIwxvtjEqRwUpbSBEOLMl1NGib0Azbf19gmHvLhq28BkvrI/l+ a3SrLR6Mu8gRdhG5qLTethu2JSPqtiHnJEvdiZgA0n8HsUuylSVvL7Qt6Iq2iN/BFo3t zh5hboZ/5wEObTgdXhajoiHznP+jTHZqYG0Tj4zkk0TFcZ9CRpS5sK8zEw/ZRc98vAPN NSDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NubI2CAh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i124-20020a639d82000000b0052c885da616si287853pgd.337.2023.05.04.14.01.10; Thu, 04 May 2023 14:01:34 -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=@collabora.com header.s=mail header.b=NubI2CAh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjEDUkf (ORCPT <rfc822;b08248@gmail.com> + 99 others); Thu, 4 May 2023 16:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231673AbjEDUj5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 4 May 2023 16:39:57 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA61317DEA; Thu, 4 May 2023 13:34:48 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 499596601F54; Thu, 4 May 2023 21:06:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1683230816; bh=5R1AIP1C8/sZhgM+e+W1QCHOVzm+rALCBEYDFotBSzc=; h=From:To:Cc:Subject:Date:From; b=NubI2CAhpfrk5Vkj5jePnt0O0S0mN8VxWn6NBr0xioj1eMAMVzcuVCH1keYw9Kdit DgfX6jyv2OWVTu0Q9HzOJRKklRpFdm4zbsHYccq6npbU3OHYkmzF56SN6fU1DJNO8r r1Og3N7ssWzlAQ/4eADOt1sqq9a0dHr42no338IFzux7XTClvaJYlp7LBS2vIl+Jx9 6rJxnCZzkPN7LjyiwKO+h2HULhbCo28N+S1nUCuD6hbYNyQp2rffM8Fp2lMzhHbpb9 qP/umiugDzshJsAKzCn9HvMi7UjIBJQuB8/rLsG63HNtcRY7/9WI0cwrkXSMUzBO4X m9rfP48C2iSjA== From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Philipp Zabel <p.zabel@pengutronix.de>, Sebastian Reichel <sebastian.reichel@collabora.com>, Shreeya Patel <shreeya.patel@collabora.com>, Kever Yang <kever.yang@rock-chips.com>, Finley Xiao <finley.xiao@rock-chips.com>, Vincent Legoll <vincent.legoll@gmail.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v2 0/8] Add RK3588 OTP memory support Date: Thu, 4 May 2023 23:06:40 +0300 Message-Id: <20230504200648.1119866-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764998873877045674?= X-GMAIL-MSGID: =?utf-8?q?1764998873877045674?= |
Series |
Add RK3588 OTP memory support
|
|
Message
Cristian Ciocaltea
May 4, 2023, 8:06 p.m. UTC
This patch series adds OTP memory support for Rockchip RK3588 SoC, while also providing a few improvements to the existing rockchip-otp driver, in addition to converting the bindings to dt-schema. Changes in v2: - Renamed rockchip-otp.yaml to rockchip,otp.yaml and removed clock's minItems in PATCH 1/8, according to the review from Krzysztof - Updated commit message in PATCH 2/8, per Heiko's suggestion - Renamed rockchip_data's clocks to clks in PATCH 3/8, per Heiko's review - Preserved clocks order/names from older SoC variants in PATCH 2/8, according to Krzysztof's review; updated accordingly patches 7/8 and 8/8 - Added Tested-by tags from Vincent - Added Reviewed-by tags from Heiko - v1: https://lore.kernel.org/lkml/20230501084401.765169-1-cristian.ciocaltea@collabora.com/ Cristian Ciocaltea (8): dt-bindings: nvmem: Convert rockchip-otp.txt to dt-schema dt-bindings: nvmem: rockchip,otp: Add compatible for RK3588 nvmem: rockchip-otp: Add clks and reg_read to rockchip_data nvmem: rockchip-otp: Generalize rockchip_otp_wait_status() nvmem: rockchip-otp: Use devm_reset_control_array_get_exclusive() nvmem: rockchip-otp: Improve probe error handling nvmem: rockchip-otp: Add support for RK3588 arm64: dts: rockchip: Add rk3588 OTP node .../bindings/nvmem/rockchip,otp.yaml | 122 +++++++++++ .../bindings/nvmem/rockchip-otp.txt | 25 --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 54 +++++ drivers/nvmem/rockchip-otp.c | 191 +++++++++++++----- 4 files changed, 320 insertions(+), 72 deletions(-) create mode 100644 Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml delete mode 100644 Documentation/devicetree/bindings/nvmem/rockchip-otp.txt
Comments
On Thu, 04 May 2023 23:06:40 +0300, Cristian Ciocaltea wrote: > This patch series adds OTP memory support for Rockchip RK3588 SoC, > while also providing a few improvements to the existing rockchip-otp > driver, in addition to converting the bindings to dt-schema. > > Changes in v2: > - Renamed rockchip-otp.yaml to rockchip,otp.yaml and removed clock's minItems > in PATCH 1/8, according to the review from Krzysztof > - Updated commit message in PATCH 2/8, per Heiko's suggestion > - Renamed rockchip_data's clocks to clks in PATCH 3/8, per Heiko's review > - Preserved clocks order/names from older SoC variants in PATCH 2/8, according > to Krzysztof's review; updated accordingly patches 7/8 and 8/8 > - Added Tested-by tags from Vincent > - Added Reviewed-by tags from Heiko > - v1: https://lore.kernel.org/lkml/20230501084401.765169-1-cristian.ciocaltea@collabora.com/ > > [...] Applied, thanks! [1/8] dt-bindings: nvmem: Convert rockchip-otp.txt to dt-schema commit: 5dede99d255a14e4819e74ee0e8710b96a354b99 [2/8] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3588 commit: cdaa055cdc739c5c38b7e1ede59718e8d817c2fb [3/8] nvmem: rockchip-otp: Add clks and reg_read to rockchip_data commit: 71f1b0883907d4f3604a169e8b8750138b8ae302 [4/8] nvmem: rockchip-otp: Generalize rockchip_otp_wait_status() commit: da5c9b4fcf324f57b045e9eb5dd1df95784a8609 [5/8] nvmem: rockchip-otp: Use devm_reset_control_array_get_exclusive() commit: e86fba9eb891e375e1f7c9d935fa2687cba9b4c8 [6/8] nvmem: rockchip-otp: Improve probe error handling commit: 17baab60780b6801bc94f50c5fb12b9c3c262ceb [7/8] nvmem: rockchip-otp: Add support for RK3588 commit: 3a0134e21d90ab0389359a1908a3ea21dd01d661 Best regards,
On Thu, 4 May 2023 23:06:40 +0300, Cristian Ciocaltea wrote: > This patch series adds OTP memory support for Rockchip RK3588 SoC, > while also providing a few improvements to the existing rockchip-otp > driver, in addition to converting the bindings to dt-schema. > > Changes in v2: > - Renamed rockchip-otp.yaml to rockchip,otp.yaml and removed clock's minItems > in PATCH 1/8, according to the review from Krzysztof > - Updated commit message in PATCH 2/8, per Heiko's suggestion > - Renamed rockchip_data's clocks to clks in PATCH 3/8, per Heiko's review > - Preserved clocks order/names from older SoC variants in PATCH 2/8, according > to Krzysztof's review; updated accordingly patches 7/8 and 8/8 > - Added Tested-by tags from Vincent > - Added Reviewed-by tags from Heiko > - v1: https://lore.kernel.org/lkml/20230501084401.765169-1-cristian.ciocaltea@collabora.com/ > > [...] Applied, thanks! [8/8] arm64: dts: rockchip: Add rk3588 OTP node commit: bcac467b7ca045224bd0f35e245b8edfcb1c452e Best regards,