Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2239753pxp; Mon, 21 Mar 2022 14:41:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQWRPuxhUQFEcsFrflKHDc9/UumKepeMhex7qZGInTLW8YsOGeIHE6E4kgs++swDQF7n6G X-Received: by 2002:a17:90a:d584:b0:1b8:7864:1735 with SMTP id v4-20020a17090ad58400b001b878641735mr1244976pju.126.1647898909314; Mon, 21 Mar 2022 14:41:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647898909; cv=pass; d=google.com; s=arc-20160816; b=RUK4bsqC5l2WZ70HHpUJaQnSe05MV60MY51ttfWwhh5X1jP08lAmGvoiXT/sCoAIO3 HBle+Ha392FmFHsh6tmJgtBJJs1o3efXX8wwNHek1vcY6roh5DKewHMY+MTeCroO206M aEWGqaZaCWNb4ctTh5tZ7BqHPWK9onFRa62cpxxD6/Jj4DSf40NII+UsXK2ObqVMt/2l 6kG9AoiOCHPEGIEH72e2LlZtr9pqhDgOjJLTFZfEPszfX5ZNpLiXsgZLhI6hxywsu3Yv VKxEy1/Q3F1v7jNF64MNLxl23f/b/VN0ryGTGvp+PKIyPOCOc0dnv2oOKK+o+ua4dnTF GICw== 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=LRZKxQMlvGxYqJe7hFmCrVdwbvnVoMNuYxi76qf524A=; b=DoNAHfAjYQ9ZsNXILVi/WkogzxeXsun+qmV0h/ZU8exUbeqq/5I3VAhJ9cfBjWYFZg UGsojh80O9QQ+wBXK6FYSjNbOJTwsknpOz14DY+IXLpB0PX2ymNL8gP+m1iqN4ker7NS nXwyIObQ1DgFKbmbHV1GhwFGfZ14my2TDb/f/t4mqgB6RDhj+Cim884MKeOyoGd+pd2K wywpTE7opR+C1Y31LgoYCxr/LXF117Oz3vkevwO1aDooejmMSG+OcNMA8SMGSTCPjgNY 1BqykFLQDIfFEIjMLyvzy0JdCU60gWfMLvDrIvVaYDwVyPpNWpcyTQf6OZyGYw9FOdlS T5Sg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=auK5RvKv; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bu12-20020a056a00410c00b004fa93574a9asi5657887pfb.341.2022.03.21.14.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:41:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=auK5RvKv; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 468A426A971; Mon, 21 Mar 2022 14:14:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345220AbiCUIRb (ORCPT + 99 others); Mon, 21 Mar 2022 04:17:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345193AbiCUIRI (ORCPT ); Mon, 21 Mar 2022 04:17:08 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2135.outbound.protection.outlook.com [40.107.243.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DBE1207E6; Mon, 21 Mar 2022 01:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jb8S+KqNQ1tFSUNbPvWaVtvwj4HdStgm9t0yz13VckDUufURgGizySFpA/AoVfETC/sZVh0BaZ0i1sXTHr2Md4JAVOKTjRoeAYWggphUHlqakl5h55ITiL8aGd1y5U7aaLfTi69aFBGzBtS+NdLXEeucdOnS6bySDB4WxxBCKDfLF22tCj0gs+b3dbGmmnH7NdaPIfjCPSKhpLWPruQFaendIroygnPo7RTVnhhrCws+FQ3OKQ5yJN60lz9xq26BE6/wFDP0K4j7A9x4g9XM7XgmYUa+mCLBMO7YIKZCvyN7nv72ql+Gx3pfR6/jS0iJvBrAEHO5MwT5euJpqq+Fxg== 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=LRZKxQMlvGxYqJe7hFmCrVdwbvnVoMNuYxi76qf524A=; b=G388+wvsiSVbPSTRhjjruCMQ9A6etaEYPvujbPjRK0DaToMtYVU/9QNn24Y5cdBo6gY/HNNhEDFhj12Gzh1mDVUXZLNl5w0W35xuKhVR7oY5/xIl9jHp97z6KRR5w7RiHQONJn661hPQBqxUUKox4l8A8SvsKUpyRpqTyKN2Ifyjh0fo0S2gcQgiT5l0vhSBqGJnVVagn0hmtjxYabLqe5iSHE/eam5PJS1PX8AiikqShUDfuHvIRy/ZEQeR8nrUPiOkpATXFCYmGI0bvVvgTZ6erEDWEI4IARqpo748Wr0XPKH5d9jMu5ixOqqkiSkdaPLhOssJHs+4cdKgePfSiw== 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=LRZKxQMlvGxYqJe7hFmCrVdwbvnVoMNuYxi76qf524A=; b=auK5RvKv4HDa1KBLSVaQUrm268LriURbnscz0BkahA0/6X4rYcNfFe9huPkzMnrt/ynPH200hXAK5w2LUL4ydCAIsz5Qh9TbguQElQkAOfJMDyxPw4DQQ9mWFNUVD0G1pC1pujCOcRqaf8WsdjMIOfaGbrM9NaeKKt0H5s+AfAY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by SN6PR01MB4112.prod.exchangelabs.com (2603:10b6:805:a6::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.21; Mon, 21 Mar 2022 08:15:11 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::cd24:39ed:7042:46d6]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::cd24:39ed:7042:46d6%8]) with mapi id 15.20.5081.022; Mon, 21 Mar 2022 08:15:11 +0000 From: Quan Nguyen To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Jean Delvare , Guenter Roeck , Jonathan Corbet , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Quan Nguyen , Thu Nguyen , Gustavo Pimentel , linux-kernel@vger.kernel.org (open list), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-hwmon@vger.kernel.org (open list:HARDWARE MONITORING), linux-doc@vger.kernel.org (open list:DOCUMENTATION), OpenBMC Maillist Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" Subject: [PATCH v7 7/9] dt-bindings: mfd: Add bindings for Ampere Altra SMPro MFD driver Date: Mon, 21 Mar 2022 15:13:53 +0700 Message-Id: <20220321081355.6802-8-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220321081355.6802-1-quan@os.amperecomputing.com> References: <20220321081355.6802-1-quan@os.amperecomputing.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGXP274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::22) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 04e1a142-5fbc-4ed4-eef7-08da0b12eb13 X-MS-TrafficTypeDiagnostic: SN6PR01MB4112:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zbz9S4F90MjNQIVlEsQ0PgzOwgtGC3OanWWNF7gfNCt46dxuS+yn/oloUIbZIRhJDSVyc5hQct948VuyNYbbKiWxz6Z8bG0MA+Iq6nR28Sh3MzwGXV1okEiuKUDYglnH/iOnhOKR1bKjK1J/5eywNVrSIsHSwq8cQLGXJHpGVHiq+WSWVGWaCGRiZYY7DhhffunQYlipNovzPAarxABuCL724TDt8s0xwqAidmpcd4UG0Vs1XZK4fybZVJtYp3b7n1tx98mOOIOGwtM8iAaZXOhwJU12vGGGDBTC2sIG08SKHgre4zL8kgQMc/iHV19QYHfS7wQH/OdlZ1kQnj7GnHD4OO2h+6+IWS4F9icfgZfXdIBL3t4pFNdXT9RfoFECez+meefJ5b1qFe6E4wUtENXvjZiEOG6MsTXwPVWJ6aXW0ynr3IKxCvEppe/c64TKeQ4QNg0x2ndR2zzyvSrB9php1GhjO93bpwo1YqqAVpzXEA5FfpDQy/TXbMoCf9clyzDNv1L6tHkngSW37a4rfVwHwzKOF4ZUTGWMVt6XT0Yd28qbQ5vKUS+9sWUCCm85Fqlqj+4BtNXhK7gxA1nA91MxcnJ/X3HE1N/6mqYmfYzXCe3vdGLuID4pxH7UgNdC14FlWcVnEcqlsju4Ddw44/z//krJX0X3S2vCHgMnNxU/AZV139lEcNrbIcw7GedZqv3hjJ/Uuj9/eTA0zg18J3ZWhE4jE9AhEaNEbB5QyCDl5XLuC0rtFeZo2ddmf6qmserI4D0vk+K0Yez7pgLHj5aytBsSWqTPNEhQFRBrkzGQqkxQs0NiPooUiYDPdLo1K/89rIntaQ8WhRIp8T0YCLjP8m7qUUzLrPnCDUdraCU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(5660300002)(508600001)(966005)(2616005)(26005)(107886003)(86362001)(8936002)(186003)(2906002)(1076003)(52116002)(7416002)(6666004)(6512007)(6506007)(921005)(38350700002)(38100700002)(110136005)(83380400001)(8676002)(66946007)(316002)(4326008)(66556008)(66476007)(6486002)(54906003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jsZDriuzFkmEfFx/TD18MTJ9Wo4z30OQroS2//BR5l8G6FaIjbdZ57FMXS/y?= =?us-ascii?Q?yROb5wtbyTmdCC3zTEYA2VQWhevRdrY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L8LhmqH+qziOkXz5fz1mhzXW1805NvvyyGRe0j4UjVyqN?= =?us-ascii?Q?/Zs3c4+5qAzsnrfb4+eo/PTpwLOwSS0/TP5oSOAd0q/gcbiIh7XbYmtaKOWF?= =?us-ascii?Q?ql45JS98xGW6EnunqRQJ+RvYNmQUKoS62CMKCE8/tScemnq3uCe1rGkBdF4u?= =?us-ascii?Q?ghmmCjQ0FUErz/0PAaw0LWm1bXgi+1i8tSBkkO+PQz3CYyJ5w/xSKd1GnVOp?= =?us-ascii?Q?TR25YrauJr0blWi/Qw+5uUCLSdHMhv26h23hWdVdHTdfDqu9qA82J01qwwBH?= =?us-ascii?Q?FvzmBQVilBKJ3CpmOMCqVg59/EESVqCFdG4n8B4++Bab9GdR+/JWzBZytLYF?= =?us-ascii?Q?NvpY0yksk+zLVqJ1RiWMobHhUxh6Lo/7BworDueKMGFX6/VUEWxFEqDuFpBA?= =?us-ascii?Q?gDPLSv9a8C5OIpm8WWgS4WWZsc5L7RHdLpveiC2AOk1YiimJbQMQbVXOlaQ1?= =?us-ascii?Q?Fn/JMb6a6UyszUBrq2/5kBzOLbaJ9hKLpUlfXBC9k98wxXo1v6J7sIGwzdwL?= =?us-ascii?Q?S7OsRhch3rlWBOw=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04e1a142-5fbc-4ed4-eef7-08da0b12eb13 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2022 08:15:11.0598 (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: sVUZOg8lvYtCofeOQLOGF3h8u/ho2r5NGr382LPDXrAak03dCpe3rXhteKKzq1SVxKsJ5uJ5WljFP06lpSZanQhu7he3RhOF5NhVGaPqAWk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR01MB4112 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Rob Herring --- Changes in v7: + None Changes in v6: + None .../devicetree/bindings/mfd/ampere,smpro.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ampere,smpro.yaml diff --git a/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml b/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml new file mode 100644 index 000000000000..c29d975c1bc3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml @@ -0,0 +1,48 @@ +# 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 + +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 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + smpro@4f { + compatible = "ampere,smpro"; + reg = <0x4f>; + }; + }; -- 2.35.1