From patchwork Mon Jul 6 16:53:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 11646177 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D666913B6 for ; Mon, 6 Jul 2020 16:53:22 +0000 (UTC) Received: by mail.kernel.org (Postfix) id D0A7220708; Mon, 6 Jul 2020 16:53:22 +0000 (UTC) Delivered-To: soc@kernel.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mail.kernel.org (Postfix) with ESMTP id 924D7206E9; Mon, 6 Jul 2020 16:53:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 924D7206E9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=sudeep.holla@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DF9721FB; Mon, 6 Jul 2020 09:53:21 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E0A943F68F; Mon, 6 Jul 2020 09:53:20 -0700 (PDT) From: Sudeep Holla List-Id: To: ARM SoC Team , SoC Team , ALKML Cc: Sudeep Holla , Arnd Bergmann , Kevin Hilman , Olof Johansson Subject: [GIT PULL] soc: attributes: updates for v5.9 Date: Mon, 6 Jul 2020 17:53:12 +0100 Message-Id: <20200706165312.40697-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Hi ARM SoC Team, Please pull ! This is unusual pull request, feel free to pull individual patches. I have asked Arnd couple of time and since I haven't got any objection, I am sending PR anyways. The cleanup patches are acked/reviewed by Greg and platform maintainers. Regards, Sudeep -->8 The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/soc-attr-updates-5.9 for you to fetch changes up to 821b67fa46390baea0ac5139a60eaa48805261b2: firmware: smccc: Add ARCH_SOC_ID support (2020-07-06 09:48:06 +0100) ---------------------------------------------------------------- SoC attributes update for v5.9 1. Addition of ARM SMCCC ARCH_SOC_ID support 2. Usage of the custom soc attribute groups already supported in the infrastucture instead of device_create_file which eliminates the need for any cleanup when soc is unregistered 3. Minor clean up switching to use standard DEVICE_ATTR_RO() instead of direct __ATTR ---------------------------------------------------------------- Sudeep Holla (9): soc: realview: Switch to use DEVICE_ATTR_RO() soc: realview: Use custom soc attribute group instead of device_create_file soc: integrator: Switch to use DEVICE_ATTR_RO() soc: integrator: Use custom soc attribute group instead of device_create_file soc: ux500: Switch to use DEVICE_ATTR_RO() soc: ux500: Use custom soc attribute group instead of device_create_file ARM: OMAP2: Switch to use DEVICE_ATTR_RO() ARM: OMAP2: Use custom soc attribute group instead of device_create_file firmware: smccc: Add ARCH_SOC_ID support Documentation/ABI/testing/sysfs-devices-soc | 30 ++++++++ arch/arm/mach-omap2/id.c | 20 ++--- drivers/firmware/smccc/Kconfig | 9 +++ drivers/firmware/smccc/Makefile | 1 + drivers/firmware/smccc/soc_id.c | 114 ++++++++++++++++++++++++++++ drivers/soc/ux500/ux500-soc-id.c | 22 +++--- drivers/soc/versatile/soc-integrator.c | 48 ++++++------ drivers/soc/versatile/soc-realview.c | 48 ++++++------ include/linux/arm-smccc.h | 5 ++ 9 files changed, 228 insertions(+), 69 deletions(-) create mode 100644 drivers/firmware/smccc/soc_id.c