Message ID | 20221124135829.2551873-1-vadym.kochan@plvision.eu |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3414119wrr; Thu, 24 Nov 2022 06:02:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf5dJblgIUhPO+QohRbmysnBS6AV6y1JHcrU/Vk3y0I1TSeceut7/QYvZhVjq/jS0XdReggi X-Received: by 2002:a17:902:b40b:b0:188:75bb:36d4 with SMTP id x11-20020a170902b40b00b0018875bb36d4mr14631384plr.55.1669298573854; Thu, 24 Nov 2022 06:02:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669298573; cv=pass; d=google.com; s=arc-20160816; b=q/cY8k8g1iEIzZWmyyVnsmXWesxr94XQkt4mw/l6ey5UxRsNpF+MTo2a2EcYCkjDvg pwf9XiwxW4O83GljAkZN2GiFgRAiNBgCqF1RuxDk16LnqjBGq0lF4L4Bwb2mBXCX6JKJ Ly2J4av1B2u1eU9EoHpcToRLdw43k8HSoqI8QJfhyO1b6iZvK/1x/WIJsmaDMmnrAQCw V0/+hbVc4XxfCTGIq0I/YQQkglJQa+kBECJpfvqhDrK0lFMAvK1wa1d2im0gw7q0CLOe KmjDqGcRTIT9QQG1htNhyMSJHlp5G7iNzvVJuh2k/dz+n4q89R1ovvexFXQdR8Eu0DVf cLkQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=lSW9mb7hJKg5sJ5pS5fwisM0fho8WR0AVyVEjndyNn0=; b=aMWyMEdfPdvKylzjyo/xrhUB+HlFnOJmNvtvFQ4lVREQEQ1mGZNO/UrClKjhngs8bK UAsW3zoq5RAl2ldLlXNq0Velv4EXSm6VrWlZoyiGBHgAvl44uAeHk2O2dQr9zu9h640B c2b18QbizGgTP5Ud4RKbRmTMT/zkIPFbxZOIqKR/Zz9nQu0tENEXtRZpPr/vaLIG+LPf kdLfbTamML9tCqmOlQmwq5rHA04VdnKgAIiRw17HMRdMUkVvMc+J1WVbwMzcsH57C5GS WcXIDDPlG3lOYbOYM3S4ICKm8SavTSHijHBRM18FiyqtEOZly5+UsFsg0D3UUT8zc1q/ q1tQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@plvision.eu header.s=selector2 header.b=F5Z+PRio; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); 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=NONE sp=NONE dis=NONE) header.from=plvision.eu Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b0047722cedaf6si1508331pgh.426.2022.11.24.06.02.34; Thu, 24 Nov 2022 06:02:53 -0800 (PST) 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=@plvision.eu header.s=selector2 header.b=F5Z+PRio; arc=pass (i=1 spf=pass spfdomain=plvision.eu dkim=pass dkdomain=plvision.eu dmarc=pass fromdomain=plvision.eu); 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=NONE sp=NONE dis=NONE) header.from=plvision.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbiKXOBy (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Thu, 24 Nov 2022 09:01:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbiKXOB1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Nov 2022 09:01:27 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2107.outbound.protection.outlook.com [40.107.20.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBAC512E20C; Thu, 24 Nov 2022 05:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PFbmvOdYOY6s/pYCAs7+dqloVDVoqKsUCog5qCRTGFso9RUujkpTD5gChpiZK8vS1VtbONsbAzJk3TjwZGQvmfrrCzP5umYNzUw5NZUoVEmc/aQHm60XoeCJ8MkazOgLZ5D3TrDn3Q9whQd+X1qMCE4Wsm28PnWUi7VKVYEPYfYvHrtzBn+C1i4fJzie4usWvD08mPnYzxC1OM0YsHo2KAkM0FLbIGkOdyXwxwUbto+Egha7v1Xn7EWVGpEXseYH29RQeGWETJH3qmrDacAsFPRzs5rSiOTwPJWmbK3WGlfubPqzUBFTVtLWw9nF/IZSbf2gXRcfMs398w11SKNueg== 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=lSW9mb7hJKg5sJ5pS5fwisM0fho8WR0AVyVEjndyNn0=; b=CACORGuX4Jbe1thMSSGdJH/aHaLc5swTG5QxxnJpMUjL82F1EhAsIm0tknOP2taeQAR+oJ7btoq/1BZcsk18IgdCOnN5gI7JSWUG97xejn63ziwYt1gKS/ZUzKZzE0AO/23TLZvU3UIBVFatR8LSdtCCqyJ5bU9Dxm7j/Vw7GhfJmqTfbZR5fwI7tyRb1y0xnoqeRw/e78LCTf+JquqKQpCioZO9jtzoXdlWtd5VCh/M5bvcG+Sc93YryHtOMR8dOvZSZIkb3nVt7w0NmY2jOfcgmMcLg9HF5CS4G5Y3y12PyaDlG4CDlEN4D46qXmi6oyZWagbmHt9YESPneP6/mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lSW9mb7hJKg5sJ5pS5fwisM0fho8WR0AVyVEjndyNn0=; b=F5Z+PRioAW9GKoEROrdugTYHEdDDpQ8GfLmKrwhBT9PRnolm1+NTHv5IT6gk4vxWx6IVSb13o++5E6ii8JgX30C3Ft4BegLSeOMYJ9GcVwsAwJJpfhEo9Dst0hEKDvf0UC79PknDmKRQTXfnai/GVtXgDNO16SmR5i/k/UuKyFg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=plvision.eu; Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) by AM7P190MB0758.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:117::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.20; Thu, 24 Nov 2022 13:58:52 +0000 Received: from VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::5912:e2b4:985e:265a]) by VI1P190MB0317.EURP190.PROD.OUTLOOK.COM ([fe80::5912:e2b4:985e:265a%3]) with mapi id 15.20.5834.016; Thu, 24 Nov 2022 13:58:52 +0000 From: Vadym Kochan <vadym.kochan@plvision.eu> To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Bjorn Helgaas <bhelgaas@google.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Rob Herring <robh@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= <kw@linux.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Elad Nachman <enachman@marvell.com>, Vadym Kochan <vadym.kochan@plvision.eu> Subject: [PATCH v2 0/3] PCI: armada8k: Add support for AC5 SoC Date: Thu, 24 Nov 2022 15:58:25 +0200 Message-Id: <20221124135829.2551873-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: FR3P281CA0120.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::18) To VI1P190MB0317.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:38::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P190MB0317:EE_|AM7P190MB0758:EE_ X-MS-Office365-Filtering-Correlation-Id: 65b56fe9-ac78-4d11-5ef5-08dace2404b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: i09jDPJWzuUGz7lcVnQzrCGXG/JCctwgwC4jskBSw323X+NOTaOkuMhKkKZdoxfSh0/JN7W2mbyW37hIsvk11eo+JGOLSCAaCVUKmVLZZ4quIoqEkg2jV5QnPPr3TCzWl1JOtTI95AxEoNzvSoWuEYfGsOG+rZFjlU3IyQ3O0a3h+i5FMfV4QYw4yRXCf1Ngh0exmZfv0VFQiPiiE11AhE+dUmzclwkKuLkN5FlmyCHe5ognM6CDBsRo4e7yIAnfzYHA6fOFKURt624LDj/bmg3fKMY7Cgbb385XxRB4A0Ojun1QPbKCwFSOjBDxdFwDudX5W76b1WVJHER4PIvVWocPxwfsRCxIp7F+hck93d6sdKsre/GxGfAlOsFkSwrIDilWKaPHDyogFDknZUE2WjYcd0IvLEkkyqU4Q524CvXIQE1X7mMjIWKoXFT9tlTJB6IYGouhsoJpJB4HTUdVHhvMT4VHXr0B/kmISoZX9wOVKyHT45zGZC2O5na8GuuxjVNdUp7cJnkSR0MqMmQlVgG/w8fk1w0gN9e8qNUBeNkyLXQdzmlGhdhBP6R0wph6ISYKy/nlBpfS4vSB+ZAae9XBY0Rhi6jm3KO8pl4ejXmYrofoEegyzCudJHa+eRF9dDG/smUUfwaPorKRiq7EqeJW2YC1YM5Ua1VCSe7TH8vfmW+5quWGkHpQpOsafvMRvJt5bmamWMH8DMWCOl/G3bHJteul8KW89M9+u//h5P56gQ1WDCKX4ZKIbFIDaEBs X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1P190MB0317.EURP190.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(39830400003)(34036004)(366004)(346002)(396003)(451199015)(1076003)(8936002)(36756003)(83380400001)(2906002)(2616005)(41300700001)(44832011)(5660300002)(4744005)(41320700001)(86362001)(921005)(38350700002)(38100700002)(6506007)(110136005)(107886003)(54906003)(186003)(316002)(6666004)(52116002)(26005)(6512007)(7416002)(508600001)(6486002)(66946007)(8676002)(4326008)(66476007)(66556008)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Wk5RCbFHQ+Y0+KuOv30NWJ1ssTSmsAaPpfx0ugissuCnPjGd2uPGhiswF7NYSIZRHsjg4L05phX0fG7pDeqvl3X4ZFyOE0j0mKEJxWZSZEaQsB5ZN8eDJ9LE8hVKCPrleRuAApYQWRg72/C6LxxZEtzvkrtMOMfR7sNooZJ/9DPKfcoUfR3+cQPmTw9Jrnlc4LymzeJVFsT6zc3WkhOOVTbSNtFDcSdCzhFO5XlZ17vtHGvJuYRd+uEt4b3PoIIPzKRRR1p+LlfauOXRNo1OQ3W8uYbdYa13BKF12OckQ77lI/umIIUG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GI7QXlE3kJlgEyZ57gWnGjsBFmTOZQ/INcq+6EAID7adronwZA8DsvlFSs+AfJ6arTwKXWbcPqWV4mx0IRcSCz3KOXeZHv0fhxi64mBqED8GmhDGjjokJ189pvRi8xc9Acvt/YfLB5AYXD4VQTPVf3JWNx5oUkfD92nKVRCbOFdn9uPPRqDu5WMLsQZNVzSlsLtzno6s5lsvLSeS3KFt9895syQHLYjNaD6TvQ== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 65b56fe9-ac78-4d11-5ef5-08dace2404b7 X-MS-Exchange-CrossTenant-AuthSource: VI1P190MB0317.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2022 13:58:52.1335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2ILWYaZQvw57Jfy7Pc926GpAJgQ+5BdVu4P4bbI3DKUdprf0MtW03E9wGWhvabTSdTErCBR061rlan6N8URLPc9UH9UGhYqWD3Jp1qSAP0U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7P190MB0758 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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?1750386421253142886?= X-GMAIL-MSGID: =?utf-8?q?1750386421253142886?= |
Series |
PCI: armada8k: Add support for AC5 SoC
|
|
Message
Vadym Kochan
Nov. 24, 2022, 1:58 p.m. UTC
Add support for AC5 SoC with MSI. There are differences in the registers addresses. v2: 1) add patch with adding compatible string for dt-bindings description 2) fix W1 warnings which caused by unused leftover code 3) Use one xlate function to translate ac5 dbi access. Also add mode description in comments about this translation. 4) Use correct name of Raz 5) Use matching data to pass the SoC specific params (type & ops) Raz Adashi (1): PCI: armada8k: Add AC5 SoC support Vadym Kochan (1): dt-bindings: PCI: armada8k: Add compatible string for AC5 SoC Yuval Shaia (1): PCI: armada8k: Add MSI support for AC5 SoC .../devicetree/bindings/pci/pci-armada8k.txt | 4 +- drivers/pci/controller/dwc/pcie-armada8k.c | 171 ++++++++++++++---- 2 files changed, 139 insertions(+), 36 deletions(-)