From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.mleia.com (mleia.com [178.79.152.223]) (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 C8ABA21D599 for ; Thu, 1 Jan 2026 23:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.79.152.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767311822; cv=none; b=Y31AD6wJZlFU74f0c9Ccdkv2ga6RM4QEEgnSBikzMZFskgfj56tPOMyTMH7thpwbUGlUcHuQk0MF36W1PcvW5qn1h59/obUZkVmIkurqhvaauh4ZdfHPIPssmmUwpQ/gCgrCdrotyRLexaDvKStxhmYo8HwAOYEW6zo6/Dq4wPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767311822; c=relaxed/simple; bh=ZwD5xPWitTz0rK1e2zIB2rqbLWbo77DZcXZBSDliNWo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nWXlE0gYHxFvyNXBQNej7loexVJcYgQShWNdZjTuOYj+fX76P8D+BCLzYiEMIcPOK4iYq4vzFnIj38VRsOwmmm0WKuzYAXX5QRSpE65j210GbMafKeXVEc/imB9wFDXD+VMkYJ/Wy6Wq14ih3ISt6sreFQc7KJivXYSICUK+hfQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mleia.com; spf=none smtp.mailfrom=mleia.com; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b=l2JyJMXc; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b=l2JyJMXc; arc=none smtp.client-ip=178.79.152.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mleia.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mleia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b="l2JyJMXc"; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b="l2JyJMXc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mleia.com; s=mail; t=1767311811; bh=ZwD5xPWitTz0rK1e2zIB2rqbLWbo77DZcXZBSDliNWo=; h=From:To:Cc:Subject:Date:From; b=l2JyJMXcHYYSUDc71wfcYp70B5ycyDZ/aBaKImTeLtFOtJsIcBM5z+8AZ12/aClYB 6NW2qUX2lBja40MldDMfJJoEPmZ9eGM4mKib1ORxKRUK84MzPV3GDHfkDf2ApQSe0c XTvkRCiYIDRUDG77UGK+70ENuGjtGsZ2k3E7L5n7Ahuv4wvbGhxzLKsdG/Nwx/11MS xh2RBTlT+pw33XP8uFfPeOD/yQsSs5ZKeirYy0WaIvQs+L1CmAAwYYdcJVh6HoXm5t vrHdRWa4ptNRL2AuTzvRMlzId8nqZsYIBNy9lGmczeaR0ovsC3pR06/goXC6TZXSEp TBzxst2XNRs/g== Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id AB4673E9B45; Thu, 1 Jan 2026 23:56:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mleia.com; s=mail; t=1767311811; bh=ZwD5xPWitTz0rK1e2zIB2rqbLWbo77DZcXZBSDliNWo=; h=From:To:Cc:Subject:Date:From; b=l2JyJMXcHYYSUDc71wfcYp70B5ycyDZ/aBaKImTeLtFOtJsIcBM5z+8AZ12/aClYB 6NW2qUX2lBja40MldDMfJJoEPmZ9eGM4mKib1ORxKRUK84MzPV3GDHfkDf2ApQSe0c XTvkRCiYIDRUDG77UGK+70ENuGjtGsZ2k3E7L5n7Ahuv4wvbGhxzLKsdG/Nwx/11MS xh2RBTlT+pw33XP8uFfPeOD/yQsSs5ZKeirYy0WaIvQs+L1CmAAwYYdcJVh6HoXm5t vrHdRWa4ptNRL2AuTzvRMlzId8nqZsYIBNy9lGmczeaR0ovsC3pR06/goXC6TZXSEp TBzxst2XNRs/g== Received: from mail.mleia.com (91-159-24-186.elisa-laajakaista.fi [91.159.24.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mleia.com (Postfix) with ESMTPSA id 3891F3E956D; Thu, 1 Jan 2026 23:56:51 +0000 (UTC) From: Vladimir Zapolskiy To: Arnd Bergmann Cc: Piotr Wojtaszczyk , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] soc: nxp: Add a simple NXP LPC32xx socinfo driver Date: Fri, 2 Jan 2026 01:56:45 +0200 Message-ID: <20260101235647.2411062-1-vz@mleia.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20260101_235651_717118_B68702CF X-CRM114-Status: GOOD ( 10.66 ) Add a simple socinfo driver for NXP LPC32xx powered boards, the driver exports SoC family, machine name and the unique SoC ID to userspace. The unique SoC ID is read from SCB out, it replaces the current platform specific functionality, which can be removed after adding this driver. The System Control Block device tree node is added in the change given below, but the driver operates without a dependency on it, so it does not cause any regressions on boards with not updated dtb firmware: - https://lore.kernel.org/linux-arm-kernel/20251231215754.2222308-3-vz@mleia.com/ Vladimir Zapolskiy (2): soc: Sort the list of subfolders alphabetically soc: nxp: Add a simple NXP LPC32xx socinfo driver drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 3 +- drivers/soc/nxp/Kconfig | 16 +++++ drivers/soc/nxp/Makefile | 2 + drivers/soc/nxp/lpc32xx-soc.c | 114 ++++++++++++++++++++++++++++++++++ 5 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 drivers/soc/nxp/Kconfig create mode 100644 drivers/soc/nxp/Makefile create mode 100644 drivers/soc/nxp/lpc32xx-soc.c -- 2.43.0