Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3076704rdb; Tue, 6 Feb 2024 06:38:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwv/ItdhjeT4uw9Rtg/IZh/MUBqixXCdpqpBDTua4A4rgRLJh3wIEWAuzrtVA+JdewsrKA X-Received: by 2002:ac8:6e9d:0:b0:42c:1920:1429 with SMTP id c29-20020ac86e9d000000b0042c19201429mr1961429qtv.63.1707230310024; Tue, 06 Feb 2024 06:38:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707230310; cv=pass; d=google.com; s=arc-20160816; b=shIHGDZtl1+/L46sToguTir0HLWBJGq3QXs9I03GSsbUf6Kdtfjn3YGPHiJW+GesdL ka3E7LEL7jRAjK9LaLjfAMPnriltiHFGhVJCHbUwRayLKkWUby9ItvvJTAbAo2UtoW6R +3e53S7Ho4X9MpRXEVNpBWSi1Xe+C2/ak9z5ukDtK4Z/XFqDfbkSfL/b/WlNXualy6k5 URInO+zBKGHfD9lez4VsrACGMzgqd8OFSXMRC2wZKn58MYZm6tFevILIo1YxeLNVCvHI 04kTMpr7JrvWlgvG43PCp0hheR7atb42Sftfu5zD0FbfcpogPF8CcVsiE90Bx2IVM36a nPYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3vF7suW/1TS6qocxyvv/s8H/7vu3Cb51VVYgV+cySIg=; fh=uAQSzJXw03RgVCVGnWwXOBo4zEIo0/klh/MyYORfCRo=; b=fBLueW9q/dsq41PWHTbQart7JnBt1ARE2/3ALfOQAc7PnbVgmxYfLARtHchw/7fJZf cWBx57UjI4VT9wa3uePOJl9niB8uGqgD69f1OK9DxiRi0knsVPuc1RjCMJqYqRNtQMoc tRI1JjBhGgIIsCEOS/3lnqUB2dUPfcK8eoMiOvmANFUaEK6ng/f5HPTeYGPF/Rt9+8Xz c7s8N55oFgCd9RG27O02AXq/m2YqXZPAGNKF3SyawCoLmnNqX2uIGwnRJ9ExYI42g1Q+ V/JHSm64e+gTOZtcuiw+i4KIZ/L3NEc4FezXjd7K6W+PYVcjXA8/uKWSs3/QNtxMLtsT fPpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=d1nDfybm; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55126-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWVpQuReWij94/A3Rfj1GdwDX1hYmTj5h6H3dY7oND3WlWsqE0wc8Ti8shaJ5+SQrFzMAGRfS+2yN2OYjFStvKnCuFwMpnj3/8LC8tfCw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c12-20020a05622a058c00b0042c16b2336asi2448397qtb.707.2024.02.06.06.38.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:38:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=d1nDfybm; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55126-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B5CDD1C213F4 for ; Tue, 6 Feb 2024 14:38:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43699133282; Tue, 6 Feb 2024 14:38:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="d1nDfybm" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 939DE132C18 for ; Tue, 6 Feb 2024 14:37:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707230282; cv=none; b=MxNJ8a8C5Fn0igsX3enJgKyQQKoy7C+LPGGMsXvNxw6ju7TzC0bwq6LoPbw9duO4G1a/kYfVRV1QPfuk+Xkr+T8pSZAbkT5cX67mwOZkKHZDnQsqoIfuHjTGDyJzZFwkqkyUqMgSKraHPX8KYQcCkjvZdBq42IAuoVtjvba5U8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707230282; c=relaxed/simple; bh=qCtYwolXZnavl0Sd6oLqndUOVdi0NBe84oy1jvw5Hf0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OJ+8wC/ttKOO/NPCmOI/YcZMELb2XXjXCizfDado1Dqghnnfp3OUQKRg7MGo7lKcF+wQEshkbotqn3YlSL8WqG4bql09jp7pHAeuzzyMlu6bdysSDf/F7WuWuubN2AazwPP6zrm1bu115kX4r1JNn/Ya9waDDwQGXaNYWYLmyDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=d1nDfybm; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a359e6fde44so105884866b.3 for ; Tue, 06 Feb 2024 06:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707230278; x=1707835078; 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; bh=3vF7suW/1TS6qocxyvv/s8H/7vu3Cb51VVYgV+cySIg=; b=d1nDfybmgqIhk+XfreoVz6/jsnWOtwiVgj394bmQzjyaawUKn+OmQJ5kL1TTN/EJUA /ShVl5BJS0dsjeL5Yq0Rl4cUHf/TnGvnJMLRcputvRQjdSX7zd3hX8D3YLJlVWi5raZ2 89DODsFlB6t80Ad8rJa62s447eckycyksJVyECooU0kzbb6T1vRxLnKjjVGAX3lDnaIW Arz5idtmA3lRMxs9PvLWSajc3DDf1KUS8+LnP6pQ0cLgdiTxwOXbgoJCEn0u2Kn4oVf7 2Sw/yy9eunBZ8sq/G6EyPTkc+8FDqmNnmd+Pvp+y6YVZzIIdXR5QqbuSkrGIiwE+U/un VGEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707230278; x=1707835078; 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=3vF7suW/1TS6qocxyvv/s8H/7vu3Cb51VVYgV+cySIg=; b=WuvPtdDKBWCqYdKLRAcCOtjfBdOaLV3ahCDQUlTN04Mw0QDxwAh6ke4XW5x122yUOj zhNIaVdT7Pv+tDFcyTPC2Q76AlF1Ji9DaIbhwVWYH+mukFpXFGpLOzTkvKllp80Kj+mj 2QOAxBHJ6MU5TmNWZjgyqyOpBuuEVLM6uVMzkzXRbz4LCf8SzP9gUCSeoICKr/4m+v3L qtwRY6+C+VGs+Alqqxv518a/AKGx9AdchUNbTCAAb4zMy7LCSBiQDWaCLM2Pz6zbG7V8 ObyG9PKXHOeJUppQngBUMEDVg6qoipJcFIBiFiLh5cC65T635D0Z2QmhuJkfLwOU9Oqm bALQ== X-Gm-Message-State: AOJu0Yw6kj3eMELN0Cz+Wv/EdS2itNVpCH+XfMnUw0Y1yg6lUDhy5HJo Rf1yphXvnhxiIG3kur/4qYePoqMR+76lTvoRIbHOTH/1YSJkGXdMTrBxmr2oWXk= X-Received: by 2002:a17:906:2e92:b0:a38:40c:5911 with SMTP id o18-20020a1709062e9200b00a38040c5911mr2287110eji.20.1707230277895; Tue, 06 Feb 2024 06:37:57 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUu96QIev3G7AKOTetfby9vEMbsek5UkU7upCeDF5tSF7c/MeK2fVG0fw4hzpDAaWaMvaXJRMsNBEsNDUI+69YY2K/lDyZjhxOhCHbUokqg+6sDTig3NcwmjlTm6pYpFhpvfCMbdEYh4nxSMlnlSN5aIOWh0Bp843YDMliA2q8NqVIInjiw5e5mY2j8rNnhLyVt0UN56mOHRY8LnVeIDo2ZuBnKOfag9DpCkHWLeTTQC/EmDij29Wi49dSclEb/rXgr8rERdEg4HKCEaFe8AbhsF9btBV6y1TPC9s1DnPhzLVAICklNMlAZDYWOqXKawqEPCO6mgMCjoss38HGP4XfV2XudnTswqnvDHWmGiuNUIboBfIOJw2+pDSqxCSQEvisMERpTkYEjtZLNL2ucvdlOwBFZWmMOxgSbKvVLWyzY6rM2QYap Received: from blmsp.fritz.box ([2001:4091:a246:821e:6f3b:6b50:4762:8343]) by smtp.gmail.com with ESMTPSA id e22-20020a1709062c1600b00a37585d5dcesm1224418ejh.51.2024.02.06.06.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:37:57 -0800 (PST) From: Markus Schneider-Pargmann To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Santosh Shilimkar Cc: Andrew Davis , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH 0/4] soc: ti: k3-socinfo: Add support for nvmem cells Date: Tue, 6 Feb 2024 15:37:07 +0100 Message-ID: <20240206143711.2410135-1-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, am62 has a number of efuse fields that are situated in the device range of the current chipid device node. As other devices require these information as well, I am trying to establish a new nvmem layout for the information available in this register range. In this series the conflicting chipid driver is updated to support nvmem-cells and the chipid node gets the register range removed and replaced with nvmem cells on am62. In a follow-up series the opp table will be updated. Best, Markus Markus Schneider-Pargmann (4): nvmem: core: Read into buffers larger than data dt-bindings: hwinfo: ti,k3-socinfo: Add nvmem-cells soc: ti: k3-socinfo: Add support for nvmem cells arm64: dts: ti: k3-am62-wakeup: Add chip efuse nodes .../bindings/hwinfo/ti,k3-socinfo.yaml | 23 ++++++- arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 36 +++++++++- drivers/nvmem/core.c | 6 +- drivers/soc/ti/k3-socinfo.c | 67 +++++++++++++------ 4 files changed, 107 insertions(+), 25 deletions(-) -- 2.43.0