Message ID | 20221031100843.14579-1-clin@suse.com |
---|---|
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 l7csp2222643wru; Mon, 31 Oct 2022 03:11:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4stmZYvFKneOfFBHW/YYs8Sdk0K2WbLVoAmyQtAHTO8V1GRmPZ76u/BVkpV/Y/MDSboJXf X-Received: by 2002:a05:6402:d0b:b0:458:a244:4e99 with SMTP id eb11-20020a0564020d0b00b00458a2444e99mr13007381edb.46.1667211060689; Mon, 31 Oct 2022 03:11:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667211060; cv=pass; d=google.com; s=arc-20160816; b=vdEioqPDGC5XhnwqrFA4IHhKAXPUzfJnk8FSAkiRWZDaWAAZv9dnPEIw+7DprtoOZj 0yE7qh2FtV4LJ89S8Y7mg3JyuUCRK+PcgTyH3FNH7IR8oAOTFzrCLStWGfxoSZuFpr7j vQGJps9yOOQrHHIpK6MoJijyixBnq3J8IbwoHnR7p+oTxGr34giQf2TfZFiQbuSzdB8U ZQZGqt5/OUc23aD+MTwWzV8/U30h6Liq+39zvD9+0pvNs3yH15CiR7sZVYazTQO7mPkD 3N1bEcl4CEvbbb89+QqYyxFGb4gBhnCBGyL8YAECn7vf59O1hjvy0qbb40DVfW7rXMQO S0VQ== 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=IgnSlVsv5zUNFkFATW2zz7zlOT6Ti1gDC+ZSgQJHZkA=; b=gWBuvexpUR/vwM6P3voSD8+5+Ktuiu89iwFNJjcJ1thZPzv0vHbVa0q2XlnRWBmrTF rkXLOO1mItHgqMe2EBn6e0r98ZxKAZkCTbZikDrVzdQyBxVNYoV6HC2y+8YOUWgVqZPF wYVwUvRGzh5mpbNa4BAstx454Doq1coqfSm3vRbKfhlIIdgbYyL5ygRBEhV+FkOHvVAP lxmU8Li5epUBY79GBUGQuLDoctG3Ox59/VIutWJ3wiXjXaxm4zDcaFFWXM9EPcdx3jL9 2sIEeRjweADAqNcbpWP24eYZ1p9ohyvLJxkFCbxlmkx2aF6uZvtvvg4SdURGkurpbODC hu+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=H0atyPFZ; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.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=suse.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw19-20020a170907a0d300b0078dacbcaa7asi5822638ejc.992.2022.10.31.03.10.37; Mon, 31 Oct 2022 03:11:00 -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=@suse.com header.s=selector1 header.b=H0atyPFZ; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.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=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbiJaKJH (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 06:09:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbiJaKJG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 06:09:06 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2080.outbound.protection.outlook.com [40.107.105.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEBFA6386; Mon, 31 Oct 2022 03:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVxCdlPvFvMQM9fqxeqkH1dlrf34QaY/wph2VnDps2EaNsBp0WAYVxpMu/LYusBXbRT/ybT9KYlwSsXWybGOau2rcx81npKAkE4s5ddnjITQioINKimxUJwhwcuglp1JmxMnDla8+xbbXTvZ9eCKTWVwYcRQTSYCHyh5WBrLBRX2KKIVNDukEILNtn//0eG2QVp9SMHpwbZcRFPcuYisodXt6r2dNqeIxbD0nUoeh8xARp44+xzjPXNOxh3onLR9hxCHQWio6UCZA29njqrjMk0J19Cg1icPyG1QbRPqcCla0xcZD32uIL3QBSsZ3Z3QIEfenUPIeIJdlAONAyO8pQ== 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=IgnSlVsv5zUNFkFATW2zz7zlOT6Ti1gDC+ZSgQJHZkA=; b=eWpK0tDgllViggTXkLWgg7c3fbe/FFL6IINZBpaXZx2qMj2vh3Dqj9a+qWdwKcfDJE1Za26JPjned2EhGmYZot3kZBDFyDeHZTz5sVFwApkV48NbjKEcYNzcX2M0xgq648Ew4WfC9Dx0Jj5aCFx0eBkzek2J1C7/k1FPusihzcT/Kz3jIS8ywLzfcBOcHipMdiSN4FMZccrZVVryBghaY4aveiM3UC+WBt55PqgUF9AaHS9PvbV37oKj2FW0fz4Z+nURBFnHRJ9vwopu8gghv4L8iCauFSSjcq7VdnG0FCgRgfvPAPqMEh/pN3+tbw8+Gw0atWtAZTVlzgGSPSkmJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IgnSlVsv5zUNFkFATW2zz7zlOT6Ti1gDC+ZSgQJHZkA=; b=H0atyPFZQYEucZM+c/u41TqiL57JLyqG+sKB7qqeTGGc05nV9lmaJqOnsQACLOWi4rdeTauCP5mkLlaB/y+u3aRhPj+NOQeZDRyyyxf6x0K35Of3Y0GTqdQe3FSnpSKxJ3vHN9ITt03ihh8/8K1tavf6AIz7LJe6ywY1GSMohX9kxN3ZUGxL8VWv4fk9dkF/7vnRuXvK3YripbUfscCYr0dTPwr8EJaOKcrC3lPOC7uB492IbF0qnQhTSnZC/JaMI657AAuH3vUQNfuiiKVq6B63mwsCqmr8nfwHmuim1AAzdWbyp9dEAs8cMvhFdt+HbzAwTkaMePSuz4b7IdwMaA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by DU2PR04MB8886.eurprd04.prod.outlook.com (2603:10a6:10:2e1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Mon, 31 Oct 2022 10:09:02 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::41c4:5b70:6fec:a963]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::41c4:5b70:6fec:a963%7]) with mapi id 15.20.5746.028; Mon, 31 Oct 2022 10:09:02 +0000 From: Chester Lin <clin@suse.com> To: Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Dong Aisheng <aisheng.dong@nxp.com>, Fabio Estevam <festevam@gmail.com>, Shawn Guo <shawnguo@kernel.org>, Jacky Bai <ping.bai@nxp.com> Cc: Chester Lin <clin@suse.com>, s32@nxp.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Pengutronix Kernel Team <kernel@pengutronix.de>, Larisa Grigore <larisa.grigore@nxp.com>, Ghennadi Procopciuc <Ghennadi.Procopciuc@nxp.com>, Andrei Stefanescu <andrei.stefanescu@nxp.com>, Radu Pirea <radu-nicolae.pirea@nxp.com>, =?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>, Matthias Brugger <mbrugger@suse.com> Subject: [PATCH 0/2] Add pinctrl support for S32 SoC family Date: Mon, 31 Oct 2022 18:08:41 +0800 Message-Id: <20221031100843.14579-1-clin@suse.com> X-Mailer: git-send-email 2.37.3 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TYAPR01CA0207.jpnprd01.prod.outlook.com (2603:1096:404:29::27) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR0402MB3439:EE_|DU2PR04MB8886:EE_ X-MS-Office365-Filtering-Correlation-Id: 7eaf5540-9df0-486d-71d5-08dabb27ef42 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8i3vt2Dlffa39KQANf5eC6xMzXCFhYpsob8oOhy437d1xkmUrCwdtKKJVOQ8VRKONQlAggxpKS4tYKp17zYS86fQkRDh5ETJKq60w6wpGx3MqPKUTzcZDL6GdtniTJDRIdZ42dk4sLvtRCusbNvt0P/pDtY9ca/6g9naVPWRArw/spob4dvh18RlDZO95nnWXc71Oo7NOzWaJ8zEkCMfUu6Lpv//+S5mljHufYpw7OmWHZykqFQAZwkpWPKspOsuPKEbrig7tYJTJ0ppr0KD8FREOmxvrSrmYaS+cqZw+e4q2pS9RwibjZFMDWS3NrHn0kTvLUrrlQFOf9VYwQQVLAvAGKVIHbFTZiNVOZKWqmkQ6817gwKBn7ypy8LZ9ChdhbNfwYTxfXbrHmiBTw6gxVPujUDcDsOnaVYHUjnlY+jnMbe20zmu/m6hqPsQ/nJagP6BSpcRLvjD33GD9ie9h4MXgsOsYabhlBGzf4K/su4ydOLcAbwAp9N0dmDbnPI5M9ukYIwX9tXJinxC52Jtz/40kFZknA8WnEm0UkwfCJcWECwpsqH59ZkEvBb1n669Mdqto3qrooE2WUYWpaKNwoRwHFGLr05TUpucEazzSLjBbhcXiELpdG+uS/Xpu/m6vQ+XfOLJPP9dAbr11DyjS0IXjvOrsBRH57w5ko+mhmKYeRGRM+S5VOq8X05A4ZPHm4OIcHLSvPkBy+wnlaLPPdscpmykh3a4MGtJcXO/04Q= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR0402MB3439.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(136003)(376002)(346002)(366004)(396003)(451199015)(54906003)(316002)(66899015)(5660300002)(4326008)(478600001)(6486002)(86362001)(8676002)(110136005)(6506007)(6666004)(107886003)(966005)(36756003)(38100700002)(83380400001)(186003)(7416002)(2906002)(66946007)(26005)(6512007)(66556008)(66476007)(2616005)(8936002)(1076003)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xTC9dme1fy+S1qXFHLuAT04tr27OrVR4ecSBlSj7DH0thLiJdzbb4SFBYvhNRfPYEZwCZa+GNswU+IaFBWXjmaxfiU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Nweev7azzpWhOcyvKEfG2msSmWVR4kL95zCPFr9C46mLIzJi+ayG/Ve4lFc1ha6oJbrTRll89G0MDFQGuYclnYgsyZ0z0GXC4lC4npSNPJYQ4pOQC8n3NepEZmdCGeHoGWl0xtxYOqTJG2vIqJPDxR43Vq8YGekzEnyFfqfkszvqha8xY+cuoZo80mDnyRww7NWYqYi0MKrTggZfFGhiCq8OmQ92IeQwhMcwglOL/A15j86yepQbedCU7sAAy1sYn7E9bP40eCTCJ2og3CWjrS21zVyJzEi5MwVszhNfX41Totc+mvjtrjdveLUZ+mp0qubY52DHXHKQjyK5dd8pxGN8Y9UnrlmLaOrryrTHW9kN2gEKqJAfybR7+tj7m4bJYq3rU3wtUyykiA4C63PdX+zR4qrbXdHafTE= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7eaf5540-9df0-486d-71d5-08dabb27ef42 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2022 10:09:01.9980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZsXb5zyGO7tuX6XBW5FKlaXAKwfnhPiv7uxrwbm/L9B4MUHKXNw+LU9gq+ALXirK X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8886 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?1748197505037868440?= X-GMAIL-MSGID: =?utf-8?q?1748197505037868440?= |
Series |
Add pinctrl support for S32 SoC family
|
|
Message
Chester Lin
Oct. 31, 2022, 10:08 a.m. UTC
Hello, Here I want to introduce a new patch series, which aims to support IOMUX functions provided by SIUL2 [System Integration Unit Lite2] on S32 SoCs, such as S32G2. This series is originally from NXP's implementation on CodeAurora[1] and it will be required by upstream kernel for supporting a variety of devices on S32 SoCs which need to config PINMUXs, such as PHYs and MAC controllers. Currently, the whole architecture relies on FDTs offered by ATF[3] on CodeAurora to keep the flexibility of handling multiple S32 platforms since now S32 clks can be triggered via the ARM SCMI clock protocol and clk IDs/ settings can vary according to different board designs. To ensure that the driver can work properly, the dt-binding schemas in this patchset are still required as references. Thanks, Chester [1] https://source.codeaurora.org/external/autobsps32/linux/tree/drivers/pinctrl/freescale?h=bsp34.0-5.10.120-rt [2] https://source.codeaurora.org/external/autobsps32/arm-trusted-firmware/tag/?h=bsp34.0-2.5 Chester Lin (2): dt-bindings: pinctrl: add schema for NXP S32 SoCs pinctrl: add NXP S32 SoC family support .../pinctrl/nxp,s32cc-siul2-pinctrl.yaml | 91 ++ drivers/pinctrl/freescale/Kconfig | 16 + drivers/pinctrl/freescale/Makefile | 2 + drivers/pinctrl/freescale/pinctrl-s32.h | 65 ++ drivers/pinctrl/freescale/pinctrl-s32cc.c | 1023 +++++++++++++++++ drivers/pinctrl/freescale/pinctrl-s32g.c | 759 ++++++++++++ 6 files changed, 1956 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,s32cc-siul2-pinctrl.yaml create mode 100644 drivers/pinctrl/freescale/pinctrl-s32.h create mode 100644 drivers/pinctrl/freescale/pinctrl-s32cc.c create mode 100644 drivers/pinctrl/freescale/pinctrl-s32g.c