From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.174 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796300689; b=F+gtimKm85rypdlgmZDEfS+fIY8/p7lnJkTyLSmyz7haKo86s9o4BfZwIDOKoxXodUcP m6MwJsWBwNB+ksu5WUMHzjUT6bGsDSC+64xA6FYB0uSBfUr34EH7r8r+0W/rFVfwmApE1 0JDaDYZLhlo764BOP/lCU+eqcHuY1XrRcp0GULA0Yq0J/Cfp8paF3xXz7PuOT6B67KGsy iyZ1v14nN09pkigyP2KB6X1w95MNi7jmYYIIxnpcalHAuw/yQVda43V3xDGn1S8CcijMM 8ws8k+zRCOFAqTP+yId9gxTkx91DaB/E9vTFdeX/Y+iZH2yV5vE6dCht6IWQC2ZcgHg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796300689; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=seGvA9TcMyUIpDfQMFDJ4t0lNLAt7vKjYrs1NfM3/4U=; b=j8T+E95hwykAby6mreF8rhepK5gM01NA+m5nvvegAPJtUhvY01knNkRAWRqTuKsuopRi vNU12aPw0qxcGzxYULvezczeQJfYZlUn3RK5roEbqY9dvZtx1DKZQr69d6sHlbjbOsLi/ mB1fNRHIIqe5yJxQkbx+tw+KoMnK0/4mNzL+wVbyYC+WBu8lNbbdizQXU9hJPGoDdI9wf jRK7B3Xv8oGc9L9vcfFcLCd3MJIyWwZuFGtmGrXlWSbkvJMwTNCsE3G1A8tVmQe/pdKN0 xZ9aNSI4Lg2It7dlhBreEu6vj35ITaPgEOmeFB9yWvr0wwkGip4necwemX89eqpvv6Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=xQciXbRa; arc=none smtp.remote-ip=74.125.82.174 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67CDF606A330 for ; Thu, 3 Dec 2026 12:24:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 67CDF606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=xQciXbRa Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-38692f62b22so5293780eec.0 for ; Thu, 03 Dec 2026 04:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796300686; x=1796905486; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=seGvA9TcMyUIpDfQMFDJ4t0lNLAt7vKjYrs1NfM3/4U=; b=xQciXbRay4m+DE7CfXniHebobRbtJw/SF7TbR+0hKYs6T5TQkkrC46i8SjuCfK5vz9 C/Qxx8rRBFh8xZ4NsBSi57lgq9GOpcCbxl0XXIo9CokAuyXJ8E8ZpWD9pEjK2jahJYa+ QAZRsnoQ4W2I1xvfxas8KzHqkbmGIcKL3gJxnK72sX7/pPGJG+ekzrvVfcNCU5vyIwtA 7pWIk4YZ9AF7NoW004ySwXatKBwpTtFprcQCqwjEgtun6NpSGJhM3mVtDs2Bu258b/sG 991DEoVTpsIEewqSr+E44DLqbdav27s1Sqw6Iz9xsFpZOkhQIVuawKgOsXLr+/zujLRx CHbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796300686; x=1796905486; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=seGvA9TcMyUIpDfQMFDJ4t0lNLAt7vKjYrs1NfM3/4U=; b=SpMsszMl2rUoJMmDAQ6o896YVgu2fN3YuEwSTepjtL0KVQSCtPABtwZbsxwUrP18Lo Vm6qSljTUehBeFRL0McTT7cuTeNWTWyUxnTvxdUr+xcqaidkWAvc15VGOYN9JmzLyUkX AXCnSg7duFPhXNVgsYUVYDV3qrFz69hTJnEaRVpWkbu0SKFxWyJSiXAV4x4xoqo2cag6 xEcQh0TLnlPGSYOIkPXOvuKmB3CphFps5tpJa+XzIC1PqemQ2diCH4UXzLtU5osVyRK0 BX21sLSaZ+qeF9yrauDDtWn461iZ+OMQYN2zLSUlCHMdDHYbv+Au10yonuyRaj0/jBhI 9fug== X-Forwarded-Encrypted: i=1; AL+hErEPUjW3reobHmiOO6ExVxyn+49FCZUX+PG8R7MfpZ3oEPQnRqwxylBsJIB9QWUmXCQ9RBAoV45mxsU9@vger.kernel.org X-Gm-Message-State: APuU4Z+mWUyoXdND/pgl6J0JRBrGTzOPIqNjq6DsMfVdike6LqSuVba8 By6j2fcXyVeFX+0uHiP3W5ZGYaY05nmlMsky4ufWI47TKqhptXjFLIOG X-Gm-Gg: AZFdTZeVE+8huvagvYHCAykwXubKHO2QG4xC6VSrIV/OKBxrLaTEnUII7NLwCMkur5M Ulbg8OGDZ9lwvFSiQIdNgfDjWEZvy9gtUyqwgESxpEg6LlN7F3yuiejKaZ9Z/fX9UPOMVmE6ore 6jgQdYxy0Kg6XGaIzWSLrFF6CLvGC8QvzGV5Ou5wFSWiPqkoNV2vM2+fvlK81eBGfSPw3iUTjWx 1WXpwhYtPdPxRVQtx7f/LV5GqB3+ebUg0Gx0VkXstO9NXBGhMZsJDxdEO9WjG88j/9oDo9pFzKq sT1DBX5Elo5zC3uS1a4JdTffdZkEgG2GqMps8CQiBLrLrIzsjiXFD0UnkHoedgIQaozht09SphZ 9jhVyxJN8g3bjTnSRxXIwQb1J/yD77RZmXfFTFi1xveQWYWyGanx7JEJaw+v8SHB5cT527QGOQb Cmb2PjW0xe//5xZk2JWGR1nnb38oc9xTt1JTZru8Nr/C4fJa2JVgpHOkMEjFd/kJ8bCkfvyhleD 2Q41KaKMg/hTmVDg+feHfntwK9cWtKM1k82MyCOhWgoP4UbjmLvAI/svVq0dI2w4OM6azvBWDWb Zq1IYefuPjp0TG8mXJ4h/CsywwJBiqnyV9SOGs9bvRmicWpgvyplz7MArr9H+Zzw2jiGWLs4TYA = X-Received: by 2002:a05:7300:ce11:b0:381:a037:b060 with SMTP id 5a478bee46e88-3856e63b3dfmr44427406eec.9.1796300685606; Thu, 03 Dec 2026 04:24:45 -0800 (PST) Received: from localhost.localdomain ([96.44.128.241]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38567abb870sm108777099eec.25.2026.12.03.04.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 04:24:45 -0800 (PST) From: Weihong Guan To: Srinivas Kandagatla Cc: Weihong Guan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Ondrej Jirman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 0/2] nvmem: rockchip-otp: Add support for the RV1106 Date: Thu, 3 Dec 2026 12:24:10 +0000 Message-ID: <20261203122416.682071-1-weihong.guan@gmail.com> X-Mailer: git-send-email 2.47.3 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The RV1106, and the RV1103 which shares its blocks, has the RK3568's OTP controller behind six clocks and six resets. These two patches add the compatible to the binding and its data to the driver; the device tree node can come with the RV1106/RV1103 dtsi, which is under review (Simon Glass's series). Tested on a Luckfox Pico Plus (RV1103) on 7.3.7 with an out-of-tree RV1103 device tree that has the node as in the binding: the OTP's 0x80 bytes read the same as with the vendor's clock and reset names, the board's dtb validates against the binding, and dt_binding_check passes. The driver data matches Rockchip's own driver for the RV1106 (size, read routine, clocks); Ondrej Jirman's port of it to 6.x was the start. Written with the help of an AI assistant (Claude), as each patch's Assisted-by says: the binding's rules and the commit messages, from our out-of-tree patch; reviewed, built and tested on the board by me. Weihong Guan (2): dt-bindings: nvmem: rockchip,otp: Add RV1106 nvmem: rockchip-otp: Add support for RV1106 .../bindings/nvmem/rockchip,otp.yaml | 38 +++++++++++++++++-- drivers/nvmem/rockchip-otp.c | 16 ++++++++ 2 files changed, 50 insertions(+), 4 deletions(-) base-commit: ca20d5a011d35fc25e328fe31ac47f7aae557c5a -- 2.47.3