From patchwork Mon May 15 18:15:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Larson X-Patchwork-Id: 1781589 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=TsOwnmbE; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QKng81DDTz20dc for ; Tue, 16 May 2023 04:18:28 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244687AbjEOSS0 (ORCPT ); Mon, 15 May 2023 14:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244037AbjEOSSJ (ORCPT ); Mon, 15 May 2023 14:18:09 -0400 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2089.outbound.protection.outlook.com [40.107.95.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9594518CA3; Mon, 15 May 2023 11:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lkY5ywQUoEPGikrh1hur31MXjaN6zgu7WQG9HfQQxD7EMjdyDW+j9+zhItTd85yk8JqQVJmEEn8WpqyXJnyjZF926QCcc3Nv8v0hOiojxIXJ6AkZMl9sDMt3MiTzkOikRTVBFSssfbmqhQ4mAakKrXqzt9Oy8MsBq57T4SPgU6H7CZZJv/QQtyZr1qVaKigJ3fnKXnBH1f8sxw2u9tVj7roWQxVUzGIJMmuCZHfMN09/hraoqTlU4rPW26jPnppyz1aHnAM175G9CAXxs9S4w4Or9ltoftIFa885AJJwvdaQIIM+OykbbsNs0sfN+R23MNtkXojchLBAWLhJvJULjg== 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=dy28TcdtatfE39iP7KmaaFwO5+MCnCgUUyAylO9Y+RE=; b=GAd3tn9T0y2pUfuiKMwOA8ulkP022tjEAKFrv2e0V+yaDmlvqMwPWMi0CjHzvSpXYlaExK43I5L1HPts6tmmaEv0pZSZ/30+DiXPJBUToT6KQFsOmGysVz4aZxT8+iL4KprZewkSgg/HrKw1GbHDKTVoV6pWxENJNQsl23VmF+LAiKltJku/tnUL66ZLo8r6LEVCM2K6tWO8BtBosYCHCXnOmHgBiaX5rWKLfqt2Ab2mnKU+VL8bJOi12bvIl5JPJ0rVElqyqnBHMicRa8EbkWTbQf4QWcDJkDA6l6uJDDLf8eW7m+A+1KjNQjbJAI4L8i6zquPwHHqKTfUGd3yo8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dy28TcdtatfE39iP7KmaaFwO5+MCnCgUUyAylO9Y+RE=; b=TsOwnmbE0mNJlUCl0JX+NSIaKsh89hzzqH674OS5aRbUsDrh2tXbZD7PekKVwaW81Yrg78KOqefgP1VatWqOfn4Ef6J4h7slkf0l/Jyxul3q3PIQeTmAnkxwt1a4H7Jfw706M56Bd5ZUooKiuC9TtHpDznbLoUZqjqrHO+fw1xo= Received: from MW4PR04CA0034.namprd04.prod.outlook.com (2603:10b6:303:6a::9) by DM4PR12MB5198.namprd12.prod.outlook.com (2603:10b6:5:395::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 18:16:35 +0000 Received: from CO1NAM11FT090.eop-nam11.prod.protection.outlook.com (2603:10b6:303:6a:cafe::f3) by MW4PR04CA0034.outlook.office365.com (2603:10b6:303:6a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30 via Frontend Transport; Mon, 15 May 2023 18:16:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT090.mail.protection.outlook.com (10.13.175.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6411.14 via Frontend Transport; Mon, 15 May 2023 18:16:35 +0000 Received: from platform-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 15 May 2023 13:16:30 -0500 From: Brad Larson To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v14 1/8] dt-bindings: arm: add AMD Pensando boards Date: Mon, 15 May 2023 11:15:59 -0700 Message-ID: <20230515181606.65953-2-blarson@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230515181606.65953-1-blarson@amd.com> References: <20230515181606.65953-1-blarson@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT090:EE_|DM4PR12MB5198:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e55fe76-910d-4256-3c8d-08db5570848e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: husvFtKWHgTDhSoT67CNj1jGvZg1++p5Of6XB45h37GNtE7An0jwVJHa+Udj5khZa1WPCGyKA26THU+6QV+yOPsdV+CVj07XmXavwBXYPzBLNBA6y/964FZKPy2dLdy72XOpL4zxVZcuEQUXx6aSFC3EKLMgYMbgAQPK5nXOMPnZY59cogiGTI2vESPn5g3cFWoywbqMiyZoTpqdJLbiJsO28/iGbDyEvWxDe0J8WE05Jn4wQZTeqr4pDwc9hL2gsllretqQmYEREvhO74P6FEaZUQa4J65+b/U9Sho/Zs+D1JFiCqyA+UmQ8MLec5svArCIW/Jbc7thNRDb/7Bw7Fu1KQkPKUQb3hq99PgmzzVNaE1OkUpPFJPylw4ugvZt57uVnIo6crZ/g25B01OgFDJRm4vqSy5Yxep/VPWJyOOZYWQ+sPAJmhgJ98sHwQ6AZSa2ZlRBZ+VoC4unBW+t0EysebDZtEAAzUSoR/jBmE7BuAsB1TEZ8mt7YW/hq5rjrsM7JpV3wiQS0+RrI1OFs8KXUrL19zOBdQ/SdmhVnNtETREczCUmZbQRC0RoFEEKSqw/4VbKpnctuyjplMMjROk+2jfNd5ybZ3/kMYTCrSfRVMDyT2m9eQjTZ/AvfONfABAFH2dZf0l9Mj3kUYQMOXcqJSnUaOoXiB+vQp4iHlKkN7TkaVHOrmlJZCgS3NsEEExDvYUdA1vntJCwfGR6xSQGeLRnRYl0QuOXPQnnu7BOeqW2EBsATlRFNlqZ+ll/3CRr+xjeXikg/x86tL0nEzTOospDZ8iW8f3EhjNXh0o= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(346002)(396003)(39860400002)(451199021)(40470700004)(46966006)(36840700001)(356005)(6916009)(82740400003)(4326008)(6666004)(8936002)(8676002)(316002)(40480700001)(41300700001)(70586007)(478600001)(70206006)(81166007)(54906003)(40460700003)(186003)(36756003)(16526019)(82310400005)(2616005)(1076003)(2906002)(26005)(47076005)(336012)(36860700001)(426003)(966005)(7406005)(5660300002)(7416002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 18:16:35.0107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e55fe76-910d-4256-3c8d-08db5570848e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT090.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5198 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_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: devicetree@vger.kernel.org Document the compatible for AMD Pensando Elba SoC boards. Signed-off-by: Brad Larson Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/amd,pensando.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/amd,pensando.yaml diff --git a/Documentation/devicetree/bindings/arm/amd,pensando.yaml b/Documentation/devicetree/bindings/arm/amd,pensando.yaml new file mode 100644 index 000000000000..e5c2591834a8 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/amd,pensando.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/amd,pensando.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMD Pensando SoC Platforms + +maintainers: + - Brad Larson + +properties: + $nodename: + const: "/" + compatible: + oneOf: + + - description: Boards with Pensando Elba SoC + items: + - enum: + - amd,pensando-elba-ortano + - const: amd,pensando-elba + +additionalProperties: true + +... From patchwork Mon May 15 18:16:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Larson X-Patchwork-Id: 1781590 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=DUsKMUC8; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QKng951yKz20dX for ; Tue, 16 May 2023 04:18:29 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244887AbjEOSS2 (ORCPT ); Mon, 15 May 2023 14:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244519AbjEOSSL (ORCPT ); Mon, 15 May 2023 14:18:11 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2067.outbound.protection.outlook.com [40.107.93.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E783918CBD; Mon, 15 May 2023 11:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EGzIV+LZ8XeoE4JMtEwwAgu9N8OIDnOU3DNt6ryWkQVCJ3QNpCQEn4CRRKlgOCJRIpibKv9c9Q4fZtLkff6qGrlwsK2dulI7GOlnZFg3yrh/gpTM8riZzUmb0VEaqbDXrB9zZFpurwkuTqbuwitps04+OxYofmENlIIXYei0ZvLVAvTiqasYmuXeTkt5MVoqL0406vDroEcA9aN6YZNLuhyQt3gSbEKLgj65mwgxVD1CQ0U1en4HETSv/JNSlUuzj1fLBPA8Mzuqp87mje6LQFrQGDbZbshDL7A9GMjw4FMhRxM2qfO27J1eXeFaFd/L0AGot37u/NVYyCzrweh/+w== 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=jdjMsKDGByWg5y66uxdAiyV05I8JTa9IUC2qVwVJNzo=; b=kS9R+ztn5rsLwC7UvbDWmJO5gXitIAwjQStqPoLKjRKoMX+GkxdKdUqPt9cs7dTjuM9lodfVRuvAw7biXtbLecR9buQLU+41/l9DPaBPuo2I9bbxvOu6Xx60ut2X2g8tbge/2io2huno0tyRGEl98Vd3pWOvqpUv/PgtUM1KNUSLHVfnpXTJ+p5ZqNdKa1UIpo419gU9MGnLvzGre/GpnjbEfPCbvFn1AgJi7IJlb0mFvSEm+HYQXScYhU9UMvHWkBt73KF5j0DHt5mjEWCRiyqKz9OmDCxfKsJTKc+g1ZR9RH2s+VIZp6PHqEV9wB1vYzH/4l5Hl0EnKKOjPpDGIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jdjMsKDGByWg5y66uxdAiyV05I8JTa9IUC2qVwVJNzo=; b=DUsKMUC8+rUUq2TuJbItV+zWZayAgJ6RXYuUgiiRiW02Eh1uW52FjOGJfBO20Se+XuNzJdPNjo11Hl8vw7qxYJ5YBZsnbyjikIi+fgERG5JlaXZNUulg0MuSm/V2fKgCHc9A7MLhmEV4VsJZVpDYWVdbED1AZ2xzKqp8461fv+o= Received: from MW4PR03CA0303.namprd03.prod.outlook.com (2603:10b6:303:dd::8) by SN7PR12MB6744.namprd12.prod.outlook.com (2603:10b6:806:26c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 18:16:48 +0000 Received: from CO1NAM11FT043.eop-nam11.prod.protection.outlook.com (2603:10b6:303:dd:cafe::37) by MW4PR03CA0303.outlook.office365.com (2603:10b6:303:dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30 via Frontend Transport; Mon, 15 May 2023 18:16:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT043.mail.protection.outlook.com (10.13.174.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6411.15 via Frontend Transport; Mon, 15 May 2023 18:16:48 +0000 Received: from platform-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 15 May 2023 13:16:44 -0500 From: Brad Larson To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v14 2/8] dt-bindings: spi: cdns: Add compatible for AMD Pensando Elba SoC Date: Mon, 15 May 2023 11:16:00 -0700 Message-ID: <20230515181606.65953-3-blarson@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230515181606.65953-1-blarson@amd.com> References: <20230515181606.65953-1-blarson@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT043:EE_|SN7PR12MB6744:EE_ X-MS-Office365-Filtering-Correlation-Id: 299b1ebc-ac28-447b-ca77-08db55708c65 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fTY8uVGAlXOXqXPes3TcLFaQ0nV56ZHZ4MKwAyqf0Qpa/Q325BXDUA3tH+5evvpTF9i0wpAsjSTjz05XnBIWxRsTH1M8gUKnfCWa61vrk3H+VjEYFhQwCPujJSLcIbrmsZQcwohRPYoyozqXZUKghZYmNmgiEXGKOlPHNCH7T2FERrVRh2VRZOGAgXKISQ3kvxenbx2Qlm1yIS7Ek1Qy9Tg8oXAds7AIq7HE/fm9IWuaGubW18+0sd1bb2oNgNyk44Xe8TbLgxOvn1XoVvcFA5iZnoHHr0SzoJ5flqxiZNTC/yWbUq3ZIA9dQu2aPLPqEa7l4hDyHVIv/pREZ8DrA/LgXFxtsG30pgb6zczc7ri26VnKwm76ZQgx8DkYTzcHqQO6i0cZEBUZKl5ckDGZCsJNTVN8KLtHta1c3jms1EQ3DAdnBMATgEHg18sn4myAwx47uXMhKPxJ9c6TcY4qMdjm81+8SFJ+EaDZbimVo2wjo8j/qHgeptAvLBA6U95D7McR9jqhGu0bXP64+OXfkDZ2z6r11gKceI2EVBvsgbZOIsACvGEe00pMpuSA9i74jAKMpLYC08WrIfs9Dp/cafapF1sF9Zhnk7fDU5uRelRWthzB78ISCdsMDg7phjJf2WY5s0aDF7RPiYP1aMOwPwXxij4eEmI7YItCUoeHUbgQK9Yv0FUjpbIUXVqws2svaY1afyD7jEW/VGkaIjE8wcZWTQ4V5b/bg8sxTtuDWs+I4DZFkhFE73uVogtHNzmvVISh/Xdo7kZFcxN7rAwipA== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(376002)(346002)(39860400002)(451199021)(40470700004)(46966006)(36840700001)(36860700001)(70586007)(41300700001)(70206006)(47076005)(4326008)(6916009)(82740400003)(6666004)(26005)(82310400005)(1076003)(426003)(356005)(336012)(81166007)(316002)(2616005)(7406005)(7416002)(5660300002)(83380400001)(8676002)(8936002)(2906002)(478600001)(54906003)(40460700003)(40140700001)(186003)(40480700001)(16526019)(36756003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 18:16:48.1830 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 299b1ebc-ac28-447b-ca77-08db55708c65 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT043.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6744 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_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: devicetree@vger.kernel.org Document the cadence qspi controller compatible for AMD Pensando Elba SoC boards. The Elba qspi fifo size is 1024. Signed-off-by: Brad Larson Reviewed-by: Krzysztof Kozlowski --- v14 changes: - Rebase to 6.4.0-rc1 v11 changes: - Removed redundant if/then for amd,pensando-elba-qspi v10 changes: - Fix cdns,fifo-depth, only amd,pensando-elba-qspi is 1024 bytes v9 changes: - Add 1024 to cdns,fifo-depth property to resolve dtbs_check error --- .../devicetree/bindings/spi/cdns,qspi-nor.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index b310069762dd..4f15f9a0cc34 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -46,12 +46,28 @@ allOf: maxItems: 2 items: enum: [ qspi, qspi-ocp ] + - if: + properties: + compatible: + contains: + const: amd,pensando-elba-qspi + then: + properties: + cdns,fifo-depth: + enum: [ 128, 256, 1024 ] + default: 1024 + else: + properties: + cdns,fifo-depth: + enum: [ 128, 256 ] + default: 128 properties: compatible: oneOf: - items: - enum: + - amd,pensando-elba-qspi - ti,k2g-qspi - ti,am654-ospi - intel,lgm-qspi @@ -76,8 +92,6 @@ properties: description: Size of the data FIFO in words. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 128, 256 ] - default: 128 cdns,fifo-width: $ref: /schemas/types.yaml#/definitions/uint32 From patchwork Mon May 15 18:16:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Larson X-Patchwork-Id: 1781591 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=qrD0LIf7; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4QKngp1PvTz20dX for ; Tue, 16 May 2023 04:19:02 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244995AbjEOSS7 (ORCPT ); Mon, 15 May 2023 14:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245017AbjEOSSP (ORCPT ); Mon, 15 May 2023 14:18:15 -0400 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2079.outbound.protection.outlook.com [40.107.101.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C34AE6192; Mon, 15 May 2023 11:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H9PaIlkblwBIdW27a/EDzSGUw7lYxzCmvNBCYSWhtnuadUENSQQeirZfHNntYkxlcw+k3qSD9V20/LhcQ8ClJ8oKq4EKj3g63sRfcRyj/of//O2R6TgZUXnyr5F8TKyyPchWSw5l0syDck0nHgv+4fES74EHs4k0TedllOAUW8Hj/MfZwXG+wV/9OujDnKw9dRxmybEqL2H2BmCJRxL/B3ORqYxI/GbiSzeb6Ag88+7EuXIL1n14PRNo/Fas4WPARTC0CP8EmRokBiURspCDLydoOSRt/vHV1GQwRsgNZVwBjggqS2WftYRGDYQpxFffi6EiXFCg8P69Ky/6O5KsvQ== 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=KIULXGIP/9zE9qKKh15P7DwPq8RDJ2/MG8LkZS1UI14=; b=C7z4aBsJQ/JUB80xjh5pYoIDykULEyimufkW7U2gDzD4chjUQSuN0lKUwzEC7fKK0OwPBHKeJ/9dEx5OELs09lckU9Gphbxyvp0KQwgIOvNCnrVkcPvEJvGkAPSnZGo9LF6uPyeNOkcQ2Sqjb1soknOuNkFcRILbj1yzd5JbXW/tlQPOvbRk+BS0RgX45h/G7YvId8urWOo4oeT8Gx0f6/J5EmMhWdq+UwLhxSCGvO9uvSkDg1hVn4Jvd1VyBYhh5aNLcTT5UrSzyNLTZY8zOTEjCFlak4u61eGjb3yHRasNABRWHnQYZCmaAWj6ZiYNYGTcV8hckkoshUCkClVC5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=amd.com; dmarc=bestguesspass action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KIULXGIP/9zE9qKKh15P7DwPq8RDJ2/MG8LkZS1UI14=; b=qrD0LIf7WpvYUsxklMIb1Kr6IMl+rKQdxKUs9CVhJZnTEvguLjSQ9v38SpUHdS10wAqgDCvbqWaI9r4QUHqxrRYszM+5RAIOZ5ZuIJkRhYL0S2Xb3YGrZzhhMGZLyqbEo94O+3DqOKXo6C0Zy3Uy3T7uDBkVmNV+B3p0r9tWU/8= Received: from MW4PR03CA0029.namprd03.prod.outlook.com (2603:10b6:303:8f::34) by CH2PR12MB5018.namprd12.prod.outlook.com (2603:10b6:610:6e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 18:17:01 +0000 Received: from CO1NAM11FT113.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8f:cafe::dc) by MW4PR03CA0029.outlook.office365.com (2603:10b6:303:8f::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30 via Frontend Transport; Mon, 15 May 2023 18:17:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT113.mail.protection.outlook.com (10.13.174.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6411.14 via Frontend Transport; Mon, 15 May 2023 18:17:00 +0000 Received: from platform-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 15 May 2023 13:16:55 -0500 From: Brad Larson To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v14 3/8] dt-bindings: soc: amd: amd,pensando-elba-ctrl: Add Pensando SoC Controller Date: Mon, 15 May 2023 11:16:01 -0700 Message-ID: <20230515181606.65953-4-blarson@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230515181606.65953-1-blarson@amd.com> References: <20230515181606.65953-1-blarson@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT113:EE_|CH2PR12MB5018:EE_ X-MS-Office365-Filtering-Correlation-Id: 7137c1bb-4e8a-42e8-c313-08db55709385 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e81CYaKJQW8SvGKyKnXh0mJBjgnfJq1T1Xxr+fCnV1RjRR3njUzOTaE0I+RwLNmQltAWrFpI8YnpJEehU5ORxE8uEKGxokydOHJamCgOcsIlXXK/k/Y5K/JfUTpucl+nBElDY9LggYzWri6IBPey49A01HESC58ZiGqrWJHdrocWBUnPHIJqRIFRZMSIDb6UlUJSTBbtfcp//M4v2r1H5ru3+ntzzhOc7oRThdhig9XDNo2XIv9kHfBVHupE9bVaij71imP8Kt4lz4Zjn49QRfX53slx/oSUDGTS26CQf8VGuiSRTrhMv7wsndmGIXqwgB04pPWkfO2TqOm4LTPZO49DJKI0dqt701VINe/ec8U9IiZOJYgM7a5BI+W9VZQPufVustM6b1OBVzMsm4jPLA4TgSqNszTKDcQjZlTSDJik45ldItvIcW4Dpl3ewM34fVRnaCqVry+xmgdjFtgFwdyPrN4YpQ7M+0N8GI6Xa/1DAcSwICjkhZMeKXexkrOLGt3iH9By3ATOQgWbCp8Aj5hSARX5n0NSvCwkUL22Qd84ZkO/BAKL15U/csRCV9tNr7iNzkKXpo4/Xai+rqTteArp67f3oB0688bA9wQlPq/zir/2n4Kodv59/VoezOvUl6wzN6XzZTe3/c9Iz2KgDC1OUbU9or5EmlMTBCl/USWNqx/4Hd8sC5skXY7vAnWJsDTTSzZAWvknboJmZW8aVCLbKOG/c7yLv7aYrniCZngWwNIOAjOp06U9u3bbvJ2hz8wxKqHphNFAkzA/aoWy7dvUcaaM4Nj9FszwN+J6YBU= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(136003)(346002)(376002)(396003)(451199021)(46966006)(40470700004)(36840700001)(36756003)(54906003)(316002)(4326008)(6916009)(70206006)(70586007)(966005)(478600001)(426003)(81166007)(82310400005)(40480700001)(5660300002)(8676002)(8936002)(6666004)(2906002)(7406005)(7416002)(356005)(82740400003)(41300700001)(16526019)(2616005)(1076003)(186003)(26005)(36860700001)(83380400001)(336012)(47076005)(40460700003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 18:17:00.1366 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7137c1bb-4e8a-42e8-c313-08db55709385 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT113.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB5018 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_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: devicetree@vger.kernel.org Support the AMD Pensando Elba SoC Controller which is a SPI connected device providing a miscellaneous set of essential board control/status registers. This device is present in all Pensando SoC based designs. Signed-off-by: Brad Larson Reviewed-by: Krzysztof Kozlowski --- v14 changes: - Change GPL-2.0-only or BSD-2-Clause to GPL-2.0-only OR BSD-2-Clause v11 changes: - Fixed the compatible which should have stayed as 'amd,pensando-elba-ctrl', the commit message, and the filename - Reference spi-peripheral-props - Delete spi-max-frequency - Remove num-cs from example v10 changes: - Property renamed to amd,pensando-ctrl - Driver is renamed and moved to soc/drivers/amd affecting binding - Delete cs property, driver handles device node creation from parent num-cs fixing schema reg error in a different way v9 changes: - Instead of four nodes, one per chip-select, a single node is used with reset-cells in the parent. - No MFD API is used anymore in the driver so it made sense to move this to drivers/spi. - This driver is common for all Pensando SoC based designs so changed the name to pensando-sr.c to not make it Elba SoC specific. - Added property cs for the chip-select number which is used by the driver to create /dev/pensr0. --- .../soc/amd/amd,pensando-elba-ctrl.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amd/amd,pensando-elba-ctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/amd/amd,pensando-elba-ctrl.yaml b/Documentation/devicetree/bindings/soc/amd/amd,pensando-elba-ctrl.yaml new file mode 100644 index 000000000000..e96978ad1e37 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amd/amd,pensando-elba-ctrl.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/amd/amd,pensando-elba-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMD Pensando Elba SoC Controller + +description: + The AMD Pensando Elba SoC Controller is a SPI connected device with essential + control/status registers accessed on chip select 0. This device is present + in all Pensando SoC based designs. + +maintainers: + - Brad Larson + +properties: + compatible: + enum: + - amd,pensando-elba-ctrl + + reg: + maxItems: 1 + + '#reset-cells': + const: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - '#reset-cells' + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + system-controller@0 { + compatible = "amd,pensando-elba-ctrl"; + reg = <0>; + spi-max-frequency = <12000000>; + interrupt-parent = <&porta>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + #reset-cells = <1>; + }; + }; + +...