Message ID | 20221031024442.2490881-2-quan@os.amperecomputing.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2072446wru; Sun, 30 Oct 2022 19:47:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5m/7AVOVaiqaeWDQp6G83xcZEgkNAYjmKo1vuu0vthbpiipidar1tMGN3BLPsDa1v1stEQ X-Received: by 2002:a17:902:ef52:b0:17c:f072:95bc with SMTP id e18-20020a170902ef5200b0017cf07295bcmr11929632plx.28.1667184476272; Sun, 30 Oct 2022 19:47:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667184476; cv=pass; d=google.com; s=arc-20160816; b=Z9pSw0+ks5jb09XOVE4ckDVkjQms33L3NZcs/GyCHgtVEJcLcF18pc1whSrn0zl40g KMzhWGiYsi2EpOP11/0ADONBU4wdHqZ3TgN31KWYLmX7Hsf52etX81YBHN0jZeg8x7jY 1RpUszk02KK4i58M8B/NXfoIpTX7iQXgMTDnUSNe5VblbdFe8LoPWvIZlNVmXSS9UkA/ Jq1405pzoBsVTPOZxbZ1sZWkadVgLH+e1m9jBg/PAvFNREYjDm93QwEkhf4b/q8Ywqfz UKh8IKpYVLinAUoE8vlu9vnapP9UcjA0ICcnLC/Rs4veWJYL8Rb792X6UFLA9pePoe/J hG3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6FjVwqYmQlbpnFZV0YTwkBKhRKFD5EPBn6d8rnAHbRg=; b=QBPT2dTnsLsbB5LFJ7Y7VKV9mPWlYpkyNn+/pNPHgiliKiKEqM3pcFwTiDFjCnTkRu sPpbihApopIl5G4/0rjg1uKZ1ckUybRpUVjNHRMk89a8Xhtm1Nw+WGD/VuFuWCSvKcKB S0hobfXoaREnFRTQ20vSXMgtzIG7ymvgWxudfMMrF6JyOs5iEEDwyo5g3vWcPl0IdvX+ sulVs/VVDaFof2o8LWOOvIyqLhDinecQFQdZNmEuw6cOQAyUiAzN8zifMAxdN/97qMVl lo7lsU06+Q/8r8UqK0Z216L+syyMYTt4BatBHbuXIgUU6pv/rHKRnkjdOTxbyHpnn9De EW+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=VtpTQNy2; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020a170902b61700b00186a2d376afsi6884496pls.273.2022.10.30.19.47.43; Sun, 30 Oct 2022 19:47:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=VtpTQNy2; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbiJaCph (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Sun, 30 Oct 2022 22:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbiJaCpe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 30 Oct 2022 22:45:34 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2131.outbound.protection.outlook.com [40.107.223.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443DE633E; Sun, 30 Oct 2022 19:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=USbZaabYDAq6XaUVGnfi41uAyDmcazQJqyis7PwwhjqaxUUewtR2oYZn00viTwTK/bkO5INnDc++VcQtePGTebOkCvLMx9jZCzF13ozOcecBhJtc7whLBrNUSn0edmPdwangmMjUS/7SICCmUIOL6y8bOg/VHVu9ZmnOJSo6jQf65JONovYzKf95CzrCUNygAoxmWSTnd9RKumv/fY6PK3u/nEgou8ZQep1Po68GiSbqwtCCAQls0KEk2Jn/+AVkP14jjPUaESOuxUMQvuzY3tkKLtKZd9xeT+z87IC5OSzCu3NoH76FEbfXDYPI4mggJSLNY45MMz++ZuvKcUaTKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6FjVwqYmQlbpnFZV0YTwkBKhRKFD5EPBn6d8rnAHbRg=; b=l8fUszjPHIhe7piy2PN8qr8vP5chVIbLgoxPCQH7S5vHv9uVtQmHkj8nNzHcO+IyuIVj9MAvJi3U8A0O96eJ3G7nFdwIXbJoSsmXEsW3vnIWrWVi818oF8iibtWWw5DTp8iVwQs7OtyaxrFIMgYcO9jKtvW0YxMXPPY+3D3gscEyBpVgcisDoBXr64Zv3DnF+2m3z90+DEeUjM7x+XrTvU2XoK0yIWsiz9k8qfaohm6WnGwPnL9wu9VNQgyKVl6DTDQVI7pIxCqYbQ+Zm7EYW9DzUKpTWWqj8VHuju4eMhUtzMp1tWcIr0uxy9pPLzvI/NqcBpUghEKJforhmViQJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6FjVwqYmQlbpnFZV0YTwkBKhRKFD5EPBn6d8rnAHbRg=; b=VtpTQNy26Cs8XZBULoPxkx3fHwJD4glk0zdgIZPBLpyGwK7yCKQQa3AoH6Rn+Tkz3K2taNaz8eHcbKr+YP0G6JraPay9+MFL3g+XIS8VCYpvtfiXZE2YD6hhE/H7UanWIgBpCgEsVC6es/XdtttAd8WwIXEPlPZjt0a3zD7GMxM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SN4PR01MB7455.prod.exchangelabs.com (2603:10b6:806:202::11) by BYAPR01MB5336.prod.exchangelabs.com (2603:10b6:a03:11e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 02:45:28 +0000 Received: from SN4PR01MB7455.prod.exchangelabs.com ([fe80::44c1:e119:56:cd90]) by SN4PR01MB7455.prod.exchangelabs.com ([fe80::44c1:e119:56:cd90%7]) with mapi id 15.20.5769.015; Mon, 31 Oct 2022 02:45:28 +0000 From: Quan Nguyen <quan@os.amperecomputing.com> To: Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Derek Kiernan <derek.kiernan@xilinx.com>, Dragan Cvetic <dragan.cvetic@xilinx.com>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Open Source Submission <patches@amperecomputing.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Phong Vo <phong@os.amperecomputing.com>, thang@os.amperecomputing.com, Quan Nguyen <quan@os.amperecomputing.com>, Rob Herring <robh@kernel.org> Subject: [PATCH v10 1/3] dt-bindings: mfd: Add bindings for Ampere Altra SMPro MFD driver Date: Mon, 31 Oct 2022 09:44:40 +0700 Message-Id: <20221031024442.2490881-2-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221031024442.2490881-1-quan@os.amperecomputing.com> References: <20221031024442.2490881-1-quan@os.amperecomputing.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SN4PR01MB7455.prod.exchangelabs.com (2603:10b6:806:202::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN4PR01MB7455:EE_|BYAPR01MB5336:EE_ X-MS-Office365-Filtering-Correlation-Id: 162427c1-87ca-49da-f4f9-08dabae9f82d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0BLG3yVM4PvLwK6W0e4uSN/6i58alwfJIFE5FNlGvTY7dYt092W40jWVZFaj+6rqQqaQUubFlcXQ908SxC88snguscjrj9iLZxLjgP3a2iLBvX01e9jkm6pcjm1HZLNWHf0CaLk3/I83TTwRRcE49G+A9B479iE4O8LuSvd0vOuOjmB6rNQnAihnRfSzM7gQD6NiUKfq8d7K5Lfd4vqLdLCTCB5rSogmU80zrHmEKsLsYXzQvUG4QDfC+J2u5wh37LMU/B3LSXhyWMn18lyHxXpS/19KVtQTBchNBI2M9ak2Jbkup46LBrmnveNR70PGRY5WW6QEc7K15OWMioEesoNmKhacNJglqfYitlQb+rpWAyr69bvla6iK+mquvsZCsy3DcguFEJ0jEXxmeHA1Pgzy+5x/2JK9WAtM822tlMoxIi0MjOvtgTSUGBToDAQ8ckukANH9cIrAFZCTT4gCRDEI7UQgXVS0oGquXu6ye0JLkOtnRBrjYoR6n0JLstzpbG8tF00oUw98NuuvA5mG9Nhp09lU6DvwrRpUZv81UVNKYZoqhsyv+skcsvh/3F/j+5ZcO99TYTiaNMW0x/+PBETEiTwMKYd60MSUq7A6SQjXHs7lydVbtWD33VhFAAyX2mVEudFnh559wlIp55k6OVdlljAaSq4jelg6GquF6RGR/5KcjruTihPs6XY85bECqBq6GZ5Shm2wqTvQZi7oCaVDeZzFf7I92KoWotsnnPKpGFPFbkbohlTukVh8RCFttIXpVpJBrHPfEzs1SCBCcow42htU4FDQRVs7D8Pmc6E= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN4PR01MB7455.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(136003)(376002)(396003)(39840400004)(366004)(451199015)(38100700002)(38350700002)(66476007)(66556008)(8676002)(66946007)(54906003)(110136005)(4326008)(6486002)(316002)(86362001)(83380400001)(2906002)(52116002)(26005)(966005)(6506007)(6512007)(8936002)(186003)(5660300002)(6666004)(41300700001)(478600001)(7416002)(2616005)(1076003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6TKJsmFIjQOA1doi9qfc+hNe4jv/JqD16Eyt5qL2e1+lqm+ct4RY9otBCAG6OsTUUtom4E32c/qssJ4nVsMkSFPQLH3dPUXqiX1WEvtLWn8sHMVCV/Y3f9E5KTY6K2G28PyWudJxQRfKijM7rtk+H/SXjXiE8hhF74hf01tOBSlDNXcf8Z82IjZ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Flt+kQWWldCfdNzACfgN8CDwQDlqqQA/1BcGoXPwWjEYmd0Ht3IdErm4UairYYvfMXmD0iJuaSa56f1oHfH7MMKDyktoHu1KjC2nwPzXGmdh1yxvoBPC9G4p7mm9+b5eedxTYHnBH/pVOPGPSk5UwEYcvU3ediLWmBVLXWaV9m8ls7tz6iDGRYotPIrX8glBFQTn6xZmAdzlwov66/n7z6pCZE1CwCk+wy/OSIo2kIa2Agp/QtMdOAk7IBni5pQ/Ax3gdY5MJJSrv6TmpZBZPwGSjhp9xuccXrMP7wdQemxXJTR/NSBJGuSyDGOg7dOqE3pJrFn2IxelCFl1idoSov8IKKyjhmVnmRl/ZoQo0zqwRpw0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 162427c1-87ca-49da-f4f9-08dabae9f82d X-MS-Exchange-CrossTenant-AuthSource: SN4PR01MB7455.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2022 02:45:28.4628 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Q0jE6yRT4ziaBkzdSDu1MbIV9Fg2USFxhn0B8SGme9DGCxyfFbdkNPFjm3ZUyHVlnERSwnXjjBP6jPyHbez4e5bd2p43SzNMFfKDJbXZFb4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB5336 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748169629489590237?= X-GMAIL-MSGID: =?utf-8?q?1748169629489590237?= |
Series |
Add Ampere's Altra SMPro child drivers
|
|
Commit Message
Quan Nguyen
Oct. 31, 2022, 2:44 a.m. UTC
Adds device tree bindings for SMPro MFD driver found on the Mt.Jade hardware reference platform with Ampere's Altra Processor family. The SMpro co-processor on Ampere Altra processor family is to monitor and report various data included hwmon-related info, RAS errors, and other miscellaneous information. Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com> Reviewed-by: Rob Herring <robh@kernel.org> --- Changes in v10: + None Changes in v9: + Update SPDX license [Greg] Changes in v8: + Removed unused #*_cells [Krzysztof] Changes in v7: + None Changes in v6: + None --- .../devicetree/bindings/mfd/ampere,smpro.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ampere,smpro.yaml
Comments
On Mon, 31 Oct 2022, Quan Nguyen wrote: > Adds device tree bindings for SMPro MFD driver found on the Mt.Jade > hardware reference platform with Ampere's Altra Processor family. > > The SMpro co-processor on Ampere Altra processor family is to monitor > and report various data included hwmon-related info, RAS errors, and > other miscellaneous information. > > Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com> > Reviewed-by: Rob Herring <robh@kernel.org> > --- > Changes in v10: > + None > > Changes in v9: > + Update SPDX license [Greg] > > Changes in v8: > + Removed unused #*_cells [Krzysztof] > > Changes in v7: > + None > > Changes in v6: > + None > --- > .../devicetree/bindings/mfd/ampere,smpro.yaml | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/ampere,smpro.yaml Applied, thanks.
diff --git a/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml b/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml new file mode 100644 index 000000000000..c442c3cdffed --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ampere,smpro.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ampere Altra SMPro firmware driver + +maintainers: + - Quan Nguyen <quan@os.amperecomputing.com> + +description: | + Ampere Altra SMPro firmware may contain different blocks like hardware + monitoring, error monitoring and other miscellaneous features. + +properties: + compatible: + enum: + - ampere,smpro + + reg: + description: + I2C device address. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + smpro@4f { + compatible = "ampere,smpro"; + reg = <0x4f>; + }; + };