Message ID | 20211119195928.2498441-3-colin.foster@in-advantage.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=J+MM=QG=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A85E8C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Nov 2021 20:02:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7766361B1E for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Nov 2021 20:02:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7766361B1E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=in-advantage.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=icIwbi+g/n3ffEsYcW/FTb8ty/I/c+SSbzHSyYY6rx8=; b=dT1V8EuM6cSAgn zM7lRsM9cI1FaAGU4szg0YE5SjiYkbBrjxc4RvRMgCM6Ca5hWeB4VVw0/zFvwDENRTA1LGxbxmioT IbA0kN5vvLDvMB4qDD85OISmdaoPeCNFUIOcI9+8O58n879Q4vLa4Txw7Nuan9OitrkbZFPLpuSAZ ExPRIhy32vdWtqRCSeO+296W+zGLnBd3VCcVNpVBI6UMEk6dpX6+bP7RTC5whsAkCopo+ZpPX8xyn sVfFULRG5pUDOjaV2EvXffbwdjiNdpWy3HjzWp9f4mQnG0ogEa8jo2WYy3CD0JiZ5MidLKKNybXwn 33J9tSfQVmB8wxMGFOJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1moA30-00BVZY-E1; Fri, 19 Nov 2021 19:59:46 +0000 Received: from mail-mw2nam10on2114.outbound.protection.outlook.com ([40.107.94.114] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1moA2w-00BVYl-HS for linux-arm-kernel@lists.infradead.org; Fri, 19 Nov 2021 19:59:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZD/tamrEfii7lsn90WvNUk64T0FJmuemEIZKgAsmRuOsywkz/YQwmX+OvuiEXK0QIcjIbj6jUB8aacgcu1vcukLu4xOv6Qaa8qSGZMganTswLtlS6xTVlKENwWuvGxhPL5qfqiuBk2j0d1h8WedfAXQDwLFKyAbki8xCS243Fm46jPchXB4pn3HD3qdxW0KHxvmvsVmXy9kcxonPn76L3ulXtrx6y1pZ3b2x7vePHHVkEp512Tcb90ON12OWNT+j12/pPuQ9QrJGjY3y4BqZJ635PYZ44uv1zxsCVMf9H7RMHolrZDNLtDFKHK3mYW9fZrs/KrZxi+3Thf4fUE0u6w== 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=x8FZkDfqZ1W3J7NA1JEWfHLVBL2fJYpMPFMFDYHx/uM=; b=iC68Qds5XqFQJFC3Nmh5wpYlrcbctKEalZJU3N8x4LgYw1spSni1xvOGFBNoy8T8ObtwlAtxzuZDmhEIYvW+467J40Tw6xytuZ6hvR1WDzgGYTuz6yL/7zhxSJPHJpPyOgcF63v+XKZSvB+ZC58FTjbHz1HBXwAZ9ep5SONCi/MBqB7xSl4bGkykq7DtqYCMSGDiQ2vfKRn12hXNJj/qNyl2+X+xhRB182b+7owbjSQh1tkQrzLdtTkfp41QuOdrWzSufztRZ0BUn3IuxEhcBlqkYk9u/SVXtVbXjZj4hppruf7aJ0PpXAM4XcHfIq/ziqZtT4B5KSkpUUghyTHajw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x8FZkDfqZ1W3J7NA1JEWfHLVBL2fJYpMPFMFDYHx/uM=; b=V8iS7nNcixxNdqyzo/rrPXXOaaYhLHLcON1cn7bXtwa/E++q80CS//jXeVfYhbkoHijoM4wrCcdTVGmlMKDT7+Ypjroum+C1NP/chea57wn14cgkcMH0PYJQL8AUSbqYedMBfGR2KwRGKN9wJI1O6D9eqvV8IXOO3SSmJKTzJL4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by CO6PR10MB5651.namprd10.prod.outlook.com (2603:10b6:303:14e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Fri, 19 Nov 2021 19:59:40 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::6430:b20:8805:cd9f]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::6430:b20:8805:cd9f%5]) with mapi id 15.20.4713.019; Fri, 19 Nov 2021 19:59:40 +0000 From: Colin Foster <colin.foster@in-advantage.com> To: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lars Povlsen <lars.povlsen@microchip.com>, Steen Hegelund <Steen.Hegelund@microchip.com>, UNGLinuxDriver@microchip.com, Linus Walleij <linus.walleij@linaro.org>, Alexandre Belloni <alexandre.belloni@bootlin.com>, =?utf-8?b?Q2zDqW1lbnQg?= =?utf-8?b?TMOpZ2Vy?= <clement.leger@bootlin.com>, Vladimir Oltean <vladimir.oltean@nxp.com> Subject: [PATCH v1 net-next 2/4] pinctrl: ocelot: update pinctrl to automatic base address Date: Fri, 19 Nov 2021 11:59:26 -0800 Message-Id: <20211119195928.2498441-3-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211119195928.2498441-1-colin.foster@in-advantage.com> References: <20211119195928.2498441-1-colin.foster@in-advantage.com> X-ClientProxiedBy: CO2PR07CA0068.namprd07.prod.outlook.com (2603:10b6:100::36) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 Received: from localhost.localdomain (67.185.175.147) by CO2PR07CA0068.namprd07.prod.outlook.com (2603:10b6:100::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Fri, 19 Nov 2021 19:59:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7b462b8d-3ea6-442c-751b-08d9ab971f18 X-MS-TrafficTypeDiagnostic: CO6PR10MB5651: X-Microsoft-Antispam-PRVS: <CO6PR10MB56517B22491D9B723111CE6DA49C9@CO6PR10MB5651.namprd10.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EvmPG/GafFiyRTs2dyoQyRz/RhYfUDEx8muPBOmuIKZ7QWXQi0gRYSLa1ijtPNV4GOFhafduW94YTr3LUBf5WfT7/ntXgJ2ryVorv0C95MyLsR+9dcpyyPZJKRrnjXVXKFfqex1buuqRZwshNSRc2A0tgiFKTrprNUGa39K85iF2QG0FcIt9K63f69yMrn77NDBTQP7F9IHb7yygByDSm2IqVryPIhCQZq2ahXZvoI2G53Zd2YzRvHPNg9SVuOpJwMsPb1YloOKZrZypEYeGWSpsLr0XbKsaS2ASONFFzYRT1IzZx3KFp2vJUrm/edYQhUuG43kSnKVIKOwwD/N4rbwKQjjvRt/J43rTHR4ExIyMCsaN3CUktMC9ZmdiOnK99R7P6sCuMsTpXcjhlha6yn70keFZTT5l2d7iHowhm1VuuO3dTyJR1V2ZqD080avILPQb6vMX87uuHZQ890zfMHGJaiqAu6+K5mfSJtSmX+YuqRmSAe1l2Jg9DNbzZyY4UB9JZDpCS/cKNZgi7cKA6c8D4blvSZtt+2H6aMkLcsm15fjk4jAAwaQyzUXmgyDLumE67d98ZtOsowUIgsvj7ZEPJOMJfHH3awiVwdw/ABOgvU5j7z7bePQZjG7XzB2+4ORdbqaRi1wshXgIYe2lLdU/bApuxsYh9goUOZJGhOraA27cgTr2453SM7WaIJQsk0QYa+RmTGKzSQH9go0J+w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2351.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(39830400003)(396003)(136003)(376002)(8676002)(4744005)(26005)(54906003)(86362001)(36756003)(6666004)(6486002)(5660300002)(6512007)(66556008)(66476007)(186003)(66946007)(2906002)(956004)(38350700002)(52116002)(38100700002)(316002)(4326008)(8936002)(6506007)(66574015)(2616005)(1076003)(83380400001)(7416002)(508600001)(44832011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?s+oQmSYUnCe3ssAZTkNcd/Lc4456?= =?utf-8?q?ZQk7r+SvZ5h6jTpVmSe7RVYKzeucXtPwZ8YQKOQkQSXph39OD2KyAEapYOYL4pJPN?= =?utf-8?q?6SNLbYzRQDrkPpp+AxHgufJDQYcpRB/Wk2KanJ1T0KBNsb5qDeIjacmRhW63A0i59?= =?utf-8?q?vhcnspl9BEW5S+rUup9WJPsr/cO8pf+ug5HcSF2GCGPitf6ZpvOFA4AF0rL3LIDEx?= =?utf-8?q?nZSfELMSQvJQ1yN75K/sqtsM4eLLRtGmA2F+fzYEKpoelvMACKpgqgdasa8aOnr64?= =?utf-8?q?AFZ1AxXC6I44auJ+wfLf8JN/QzcxPZNg5dow6Y9hyhCa0FwP4WYK5/DoqnMVS3t1n?= =?utf-8?q?U96xVyfN/l/g9SP7F3taU6f2I89u2PzLC+FWskBdcdtABtq5FBtj4UDUW359Pl+pQ?= =?utf-8?q?5iCqeXS2y8ZeZLBiZ3K5Xg+gxghVEnRuERx6/vHxHPuIMTG7oHnHjRUuRo1A2XMS+?= =?utf-8?q?nCkP1asTY9ULJdoQo1z034GDaNCAQE/0yXLO5ExZQFj3T7oNOIcbOyO1BbdU4xs3l?= =?utf-8?q?A3SNNBmGfQDMb4Kgaq5+xJaxzQOym/bAYPA8gqUcJ8xbtGvvm6A4SzX9VX/AB9TVI?= =?utf-8?q?5ag9/1mnyfJhUAvph0GY8rFZJvb8b0T3nvErM94/ogemESfLmhdvZgHYx8MHGSulK?= =?utf-8?q?N6A5h0b6tezPxWxIAVYaszI8DOvWYkqrkhbyYjR6hDlXXYEMlvD4TLZFjNcO/m8gy?= =?utf-8?q?OQBVGtBAd4iRsyDAOkmwDHMr+GY7oOxLdW+CBr4CorkjG6U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com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b462b8d-3ea6-442c-751b-08d9ab971f18 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2021 19:59:40.1682 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: U/N/MdwmArpI8bWxynBszLXut/UcUiYE1u5Z1snXnN3cuEzWqs1P+e1ezwsTPKSKPCiqPBeRKjwD7A1diWJnymPD4lCt2ySiDzb+moo3FTo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5651 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211119_115942_679520_221444B5 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
pinctrl: update drivers to utilize regmap
|
expand
|
diff --git a/drivers/pinctrl/pinctrl-ocelot.c b/drivers/pinctrl/pinctrl-ocelot.c index 306293314069..6941c1b45b00 100644 --- a/drivers/pinctrl/pinctrl-ocelot.c +++ b/drivers/pinctrl/pinctrl-ocelot.c @@ -1308,7 +1308,7 @@ static int ocelot_gpiochip_register(struct platform_device *pdev, gc = &info->gpio_chip; gc->ngpio = info->desc->npins; gc->parent = &pdev->dev; - gc->base = 0; + gc->base = -1; gc->of_node = info->dev->of_node; gc->label = "ocelot-gpio";