Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp636899imw; Wed, 13 Jul 2022 05:26:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1voKrok/U0SZcS7kCJYvvW2M/8G683xi2McLCZ2AWoX8/Mg550adS1+sH8nsuXoh0cmK5fM X-Received: by 2002:a17:90b:2496:b0:1ef:a94:7048 with SMTP id nt22-20020a17090b249600b001ef0a947048mr3598619pjb.244.1657715205720; Wed, 13 Jul 2022 05:26:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657715205; cv=pass; d=google.com; s=arc-20160816; b=CgYrqdzvcS24KW9Eyf4d1o/e/Lb/fe0mnQUBm6CZ13ncOipaQ6NsBKtwyqNxDoyv/o xsQYIAxlRmZwRNJfTeQqhSdlsMdcRyUmSti8wX47gawDI3oWQ8iQcxhDxbXZmBAZmFn8 uxfgonwYjIohnB5N3iqV+zjyXKrXH53ONTPU4ImQX/BSA2QVCe1DEFAg2Ho/FwPioUCj HctLc3t8638zDvN0Oz1XKEgqHpbuGpYPbrd2bnb8Fh+e8PE+NJ9L9TOeQeTZaz7SnDKk dQDbwUi8/o2oW3eyY+w6kd6S0Sg9tc3mjOTPyPkzEZY8EL+dll7BNUID292ynf86pqjp vvGg== 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 :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature; bh=Lhyrc6vxI/4YSqfNRKGG8TVpVPVUbOOuIbI/FED7MBg=; b=QzpZrQoNA7pjgWjbh6CG8PqdYjO3KIbI8JJlob6WeUmt5VKmpqmVG/29MNgFm1lEBT GCwlKzd1SkrcwXjIt5r1WtJhcx9aGUCbjq82ndMfMgjD6+qVqnrBY9JGZ8c+1GwnTq66 14EN6UuhKFgjqMTmL39Rg3V1qKuFUhm1R9iQkfsfithhwaMnyuIqZre+rMraNLhnuNtA iJXIa/p43iGYO07Ly7n9aEiDxQE1k14I70fzdh0FpIgKwuzUCbAfZEN5Q0G4v1nZMt0N Nc19kcGmD4US2YWpavO5t9qXdXVx1atSVN0ygt7yRGjwZraZb82nQd9Wn82BGV/3ltsj k6iQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=j3Lvpdur; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=UjJSY71F; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.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=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a1709027fc800b0016c2d9149desi15012292plb.431.2022.07.13.05.26.30; Wed, 13 Jul 2022 05:26:45 -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=@microchip.com header.s=mchp header.b=j3Lvpdur; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=UjJSY71F; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.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=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234823AbiGML0X (ORCPT + 99 others); Wed, 13 Jul 2022 07:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbiGML0V (ORCPT ); Wed, 13 Jul 2022 07:26:21 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EBE91014AC; Wed, 13 Jul 2022 04:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657711580; x=1689247580; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Lhyrc6vxI/4YSqfNRKGG8TVpVPVUbOOuIbI/FED7MBg=; b=j3Lvpdurc4mDQLmn+4PhdV4ApAbhupm6GHmpid16BvMpKmDZWIw3+6y8 w+eKzhbaBs/nqP/OKIHCfYLVR3pHNQ8fo+zIZ0euhOp4ok5Vy86XFVOTE mKlYD5UyHO9yjYsyRfnxrrr8im0u8X3RmYpWN2SlRrOoq6KHRcr54wKWn 151OqJazbonchC1pa8JakACPZfvkjDjWXX314qY87rIVQHnXKDuPCRy/K XAY6uxlJTd2t9TIyY1Yv1OTrvZgK3T66dPNrJLYXM/fSSwp8hidFcMGdM IeqQc4Pi0LsTylRD46/i/Yt4rP6ANg5gss1Rom4ygvsrrnT1U730Ea/CK A==; X-IronPort-AV: E=Sophos;i="5.92,267,1650956400"; d="scan'208";a="167624561" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jul 2022 04:26:19 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 13 Jul 2022 04:26:19 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17 via Frontend Transport; Wed, 13 Jul 2022 04:26:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LLITlcVp4e5RPNf//b8K3fCn8yY9FKxnW3ob7t4rnCTcyV4855qYkpa04yDHZlhNwBqJsqwtRNuGDpiLWfMMa6YH0ETeZm4YdQc1AAWg35aG/2ow0CrrvHnftRUDJhYqN6JR77HxM1d06AFizVMsox538ByqrjO8QHIkt1gZnW4eIctF8cFQEYCv70CqiHExpHH+416atDVCzXEpigtRr9/KqubWWvHZV9oS1csVQczOuKPNO3gnYoLlbNlW633PGT9MXXsNFh8FiX29Fs6MHmI1hfu7XSlUjhcPzl3mAd9Ri8+jXliBo71Xe5dr6ihONN5khEpBQPk1Z8HrNP7iDQ== 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=Lhyrc6vxI/4YSqfNRKGG8TVpVPVUbOOuIbI/FED7MBg=; b=Rd/EGtwYLXOqv+WrleqB/FOCANL8Cil6BTYoVqebtgpX+3Z8JxRxHgsFX+urFl97cfn1MRP4EfWOT7PJ2rgRD8eTHojnpfYfJFHx4Rds1F51G339k+iybdkTjSr1OXAcO1UKiVmj90cRYJIpRefC5epTBAkXGRXkRgCdzNkQGuBmAGypAnWslgXw/hXWAg2VRYUt+7D5ymHol/9pLJ4UhWaIvfvS4rrTMc+PGyvI0W1BxbGjg4mgUn0YM/UJ9PC43JMCS/98LkAG58+0Ug2nm0zhMGumtDbBoHiv1NEzClgy/ZjGcuYclNvwyH8PpuJdcIwRQLCWFtkynCAn/YBwZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lhyrc6vxI/4YSqfNRKGG8TVpVPVUbOOuIbI/FED7MBg=; b=UjJSY71FXlmbE02/a2kco+L/lUVDHr1oclVWhst5BCpbnjkfZm86HnyGjg16cKqt+OfiLYIXhE6sX9/wa4WDP96aF2m/BLyJ/KTF6QBUql1l/QeKenw+yBQVpOUsFERz5hSQmyRkBOx+S88hu00jQuGhCC8+Tiq1UTBIJtR92Es= Received: from PH0PR11MB5160.namprd11.prod.outlook.com (2603:10b6:510:3e::8) by IA1PR11MB6124.namprd11.prod.outlook.com (2603:10b6:208:3ec::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Wed, 13 Jul 2022 11:26:17 +0000 Received: from PH0PR11MB5160.namprd11.prod.outlook.com ([fe80::6090:db2c:283b:fe69]) by PH0PR11MB5160.namprd11.prod.outlook.com ([fe80::6090:db2c:283b:fe69%8]) with mapi id 15.20.5417.026; Wed, 13 Jul 2022 11:26:17 +0000 From: To: , , , , , , , CC: , Subject: Re: [PATCH v2 1/1] gpio: mpfs: add polarfire soc gpio support Thread-Topic: [PATCH v2 1/1] gpio: mpfs: add polarfire soc gpio support Thread-Index: AQHYlqemVrcQOBoUV020qkXDgR8Pgq18KXoA Date: Wed, 13 Jul 2022 11:26:17 +0000 Message-ID: <776164f4-21cf-7720-3cf3-3b30b72b8b29@microchip.com> References: <20220713105910.931983-1-lewis.hanly@microchip.com> <20220713105910.931983-2-lewis.hanly@microchip.com> In-Reply-To: <20220713105910.931983-2-lewis.hanly@microchip.com> Accept-Language: en-IE, en-US Content-Language: en-IE X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ccef86bf-99e5-48b5-d56f-08da64c280e2 x-ms-traffictypediagnostic: IA1PR11MB6124:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DQWiAQ+x9lRk+6gS2DzU65a+BQmN2djxFsW2a+tBQTZxkl2z4Rx/z1X6x5ljp+20qxk5/LUKR2KKETDjxa+enzeMaYKe8WkEZ/bBy3X/R731fBZvsOCsXSolk0TLbGUYNAdKwTaoOvYn3Jj3nJfFszgRWEU9Ti3mHYZDzlR+mR82j+a1JLDS7xPa3MeChw0JaOWNS5sX1yQ4H6HGQMNtMjhPtg4akXu75wvaP0+5LiXOmzBIfWSAA6+Ke0kGj96Sp76S303l/j2XD718PYVF1BfY0sDOM2nn6BikNbrNZ+mthtovoBAooqkd8ERrT8MgJOCC+mjhkXLby25Cyo94CRGKkXyvL291Tk1g0+xCmNLi/33SVDQhVOnRmKkFZd2cp4+ejQEWdnKho4IPF/tT22+2AwX1/hxcyg/DdWSQtd4+dYXRUOpcXrbL8YpqooEbU9MZKs4eY+/Qaqg1mgnqHNxKnm6ovPsKcycMSWY7Yc5fi/eHBdVFYVN7wzONFbkSRc3Mh5E9Okd1pCFTnJd2tIE+LH+6c/kfXyoyxNi03JvMjjJyH0+TyuBCUykeBy6q3oQsCCMt1tzLq+OoScIOX6x+FcslGD9fIu4f48/KHsey2frXfodNEVFq4y9JeYf2xil3Pn/vU545OKIImKAUiD4u0JoQTlE56FfME84i/gx3VykAJVaxFHcATJhktqcUxBN4FSd4XPcvDRu0JAuHfSG/4mk+A21ewrNPH6t10rvne9TOJFrqXTlrWofPDdk1+7rjHFLK/+5RDjOWXtId2HGtgbQosvJQgud7nr+Js7BtJgSx+hqPTK6XdQYKdODnLIxPhxYjNqLbzhCS5SqJcPuywdiugtgQR9DS6GX1WID804ZOMilhFvV0cT74tKX0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5160.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(136003)(396003)(346002)(376002)(366004)(64756008)(8936002)(86362001)(54906003)(53546011)(66556008)(66446008)(91956017)(66946007)(8676002)(76116006)(71200400001)(4326008)(6512007)(66476007)(26005)(31696002)(5660300002)(38070700005)(2616005)(122000001)(107886003)(110136005)(478600001)(316002)(41300700001)(38100700002)(186003)(2906002)(31686004)(83380400001)(36756003)(6506007)(6486002)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZWtsdDM5RXhkQ0FZL2E4WlFBUCt6U3N6aEhZMHA1VTFhVnJMYkVpTjJXVGFh?= =?utf-8?B?WERKblNzWEpnMzlwaU5INlV2V0pXVytpbFEwRmZlYVQ3MmgyUkVsKzNvUkRD?= =?utf-8?B?Mk5vM2FBOXlrbUpWL1hxRjhmelZ6YVI3S2FTRjFVYThQUUs0NnlmTWlmd1pG?= =?utf-8?B?eGhmTVdMdzUyM3NPeFRTUlNGbWwxaG9lWlpWK0FDSEMxa2ttRDVOVnhPQUhM?= =?utf-8?B?TzludENDMUR4V3Uxd2JIQk9BQTFuS1FUNTZybDZjK09FSjE5Ylo2b0dnRytE?= =?utf-8?B?bGk3QWtndzVVdGlZdTRFZk1UK1RJeG84dFlxc01GZXNsaVJ0aXFTeDBobVk3?= =?utf-8?B?dFRJVW5DOFYwQlBQa2VjOFdwU29kcF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F13CB546ACE@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5160.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccef86bf-99e5-48b5-d56f-08da64c280e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2022 11:26:17.4973 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wHwD5vHXRQMFxLxFyuoniU3UfWX+3rCr2A1zbagWiO5yGqu5+QjqMDu+TmOSdVzS8JpvZ5sa2V/SUqmcU+eCvSKLet0UdfbEOwYQYl6wMXs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6124 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org SGV5IExld2lzLA0KQ291cGxlIGNvbW1lbnRzLg0KDQpPbiAxMy8wNy8yMDIyIDExOjU5LCBsZXdp cy5oYW5seUBtaWNyb2NoaXAuY29tIHdyb3RlOg0KPiBGcm9tOiBMZXdpcyBIYW5seSA8bGV3aXMu aGFubHlAbWljcm9jaGlwLmNvbT4NCj4gDQo+IEFkZCBhIGRyaXZlciB0byBzdXBwb3J0IHRoZSBQ b2xhcmZpcmUgU29DIGdwaW8gY29udHJvbGxlci4NCj4gDQo+IFNpZ25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