From nobody Thu Apr 2 17:13:13 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 523363F0744 for ; Fri, 27 Mar 2026 13:18:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774617485; cv=none; b=eW0Cs7Wt6K+HXFwltD5DNw6OY84Za6Ca2YFTI8lLe11dnamv3bWXyukFGIo9THhx3IGftwpYUi+HSA6hHwFcUDoLHNN4glY0zEjqv4X/BcVN6ltA/xX1I0dAS5iSDeN8HMtJbkxtu2SbXkCPtNFos0zpVSwgjVe5ReKyrJRsYgw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774617485; c=relaxed/simple; bh=clES2Ku/rqAtXbz8Og1lWogxm8rHMvoLJwuPLEeUrgo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CcEH4UyypfP+qXvmBI1jp9HzWYSE21uM8/rbKnPuzBpr6bh3BhVcvz0ezPB2pfJkOl1vejZNUn/Lw53M8g2HHOnlVgZNUBKSKHbfoI84bt48Ur9P9aNiVzNFfjSW2oTRm1JeG29LFymc2mJhbRe+OvOx12BCMa6qEJ25ZWDK1Fw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P16DI2pW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P16DI2pW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB026C2BC87; Fri, 27 Mar 2026 13:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774617485; bh=clES2Ku/rqAtXbz8Og1lWogxm8rHMvoLJwuPLEeUrgo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P16DI2pWuP+g5XHaytiTdtX3tkguq9D0cxDOKcd8j1KGFLINLgD0PMehVXR6ARZOq 48sNIAZjIWI5ZmGRjnjGnfD4nMmtPMkyQcOXDveUX82b/yoAcrqtGa4SDw6CWXIeZG FK5HcNzzZYP+myavd9SvIIfO01DagUFxxFPO9dajMh4AaYHMCZyu0SXGRQxniYrWtq RYYhHw/UdA20uJweAhiUDJdkgsG09tcGtzqSTrmCUSxKV9DYkjvsyeuQyKvSMVlEIP KKwtxbpqknksh7qjv8CwPiX5DbSIMBYf7uaJcuzyFflomVdkrrqU4m+rEEZK+LPvCk JDcXbJubW70XQ== From: srini@kernel.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Jonas Karlman , Heiko Stuebner , "Rob Herring (Arm)" , Srinivas Kandagatla Subject: [PATCH 5/9] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3528 Date: Fri, 27 Mar 2026 13:17:47 +0000 Message-ID: <20260327131751.3026030-6-srini@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260327131751.3026030-1-srini@kernel.org> References: <20260327131751.3026030-1-srini@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Jonas Karlman Add compatible string for the OTP controller in RK3528. Compared to the RK3562 and RK3568 the OTP in RK3528 does not have a phy clock or reset. Signed-off-by: Jonas Karlman Signed-off-by: Heiko Stuebner Reviewed-by: Rob Herring (Arm) Signed-off-by: Srinivas Kandagatla --- .../bindings/nvmem/rockchip,otp.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml b/Do= cumentation/devicetree/bindings/nvmem/rockchip,otp.yaml index e90136f7dcfb..7e4d5e1c4ced 100644 --- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml +++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml @@ -14,6 +14,7 @@ properties: enum: - rockchip,px30-otp - rockchip,rk3308-otp + - rockchip,rk3528-otp - rockchip,rk3562-otp - rockchip,rk3568-otp - rockchip,rk3576-otp @@ -72,6 +73,30 @@ allOf: items: - const: phy =20 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3528-otp + then: + properties: + clocks: + maxItems: 3 + clock-names: + items: + - const: otp + - const: apb_pclk + - const: sbpi + resets: + minItems: 3 + maxItems: 3 + reset-names: + items: + - const: otp + - const: apb + - const: sbpi + - if: properties: compatible: --=20 2.47.3