From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB00FC433E0 for ; Mon, 6 Jul 2020 16:54:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B5E1520702 for ; Mon, 6 Jul 2020 16:54:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G4rz6Fg6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5E1520702 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=M/GgtXitvqRzyWtMSFgWqWeTnPv5/eaCwwTEVrHJ0/0=; b=G4rz6Fg6pkKwHVu0/eTyCwTr+x xWX8H87skYTyOwg9DU2EwPVHyH33LNy74Uw41NoEFPkNdki1E0nwNYaz25dl5YDQ2VM6QITcPt+Jj PCUoeCP4zmv/XmaAQXQBrFUmrmAI8oyrzAPYOTU2Sf/naROBeFeZ/VkRMwkB0TkQtikfzxXTEV+Af nvxMZDR+xHOlNZis4vJuOfwT5j6B+/6sScEeczy5HF54YvvQ0BShj6vn2zqtFq6NaciPLrsitVmyI 4OWzTkeUiSxydfeWv0i8zDKol/4Ddl6aTFKzMly4Yg+Z77BQ+uWPfjaC9w5xV3ha7ezHU+PG1AMtk xttc69bQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsUMv-0004aU-VI; Mon, 06 Jul 2020 16:53:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsUMt-0004Zo-Vf for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2020 16:53:24 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200706_125324_075719_533253E0 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Kevin Hilman , Arnd Bergmann , Sudeep Holla MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel