Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2644875rwb; Mon, 3 Oct 2022 03:53:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/aFaMO/77erujMa0PmetxFX2wxV4ylY9wWtQIduuHK51aXwBJMhcW4/9HH+yXheyZvl3Y X-Received: by 2002:a17:903:1110:b0:178:9f67:b524 with SMTP id n16-20020a170903111000b001789f67b524mr22035537plh.50.1664794395161; Mon, 03 Oct 2022 03:53:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664794395; cv=pass; d=google.com; s=arc-20160816; b=cTB1k/XRF3TPvoKpIzCcBB4eLkgcvndXKooUJbs5Q8gUGm3en3m+P1rtLujFbExqFH EcC1vqXLtasAnBhnlfMxqzLkVay9DSEdQOrjxBGBd2JaXbcNsDxM8pDVGEfvoq+G5DXs t9rn/60trpYynPjX3WUUMIQH3n9WSKxmEwK+dymfMQxHDE1bqj4HvwafrteoqLxYREqp QB7MmymUW6EAQULLKaOlfHtFTYIspNL/9Vz2diWH+jeNE0htPaMbtJ9MaI5gifNYCMfD cQnbA9CEXlbCl5GP0zMyZNCEu4UyqjgsGuRd1OxXSqGC6HaWFQ7rnSpR/JvBMT3QPTSg erkg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=waeXO+UVaDSw3x34f/v0De4Ru/N1+gQUwIWG4Euai+w=; b=bEjBH5E5qZ1pxZ+VthBGVYgz/m35ouUZMVXJe5R5sFMBzqVPRlcLqwgxfW5u9wwRxL 1yEY3m+A0E2abD4O1MWct71lN3ux2741qttCjLaCyVfQ+fxBORVaig3QRMze54ImZElt rCjDk2Lf/2+pfGY/NfgVYsZF3UngqHH2+YY0ptEmgRYhL6bD8YDeI4B4z7BTIsqBC2SJ /rWZ3Eei5FGK+xORQFeRd+LQHqBGZ4mit0TRaiaXH1A0pzxsqkJQ9AqsUhC2+j25rMPr o1rfqRNcOqsoClvNqK4V6Xywqn4xfJ3D+X2GdQi5ASKmL5c+UJ2f0W9S6DlIn80YjW5I qROw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=i68Mx8xM; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a63ff0c000000b0042a330a7ca7si10078537pgi.659.2022.10.03.03.53.03; Mon, 03 Oct 2022 03:53:15 -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=@amd.com header.s=selector1 header.b=i68Mx8xM; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbiJCKGY (ORCPT + 99 others); Mon, 3 Oct 2022 06:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiJCKGW (ORCPT ); Mon, 3 Oct 2022 06:06:22 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2077.outbound.protection.outlook.com [40.107.244.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DA6249B63; Mon, 3 Oct 2022 03:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ukj35v4rolU8sjQ/CugQT6cMMfhKJVLfs0SeprgYLAs/ugNdluhuQtpRUy06zzweJSt8+Zn3PLjfm1XDbVKLONSG+UF6cf0Dkkg/YohhmWEFU5tT4rB61Q1HvOWw1BmeGvscrTun7xLXIEQ14QnkAzjdCslwZtSIh0cDqhyZQXGky1NgL9cTy9bqlkjkF5rdShTa8+gyuVDTNQxvRuot3y3BXXE7l5yFJQZHOzWUjaIFWPI5raGlhEQjApUZHJFWooV8x8+OxcOwYmJboBo/GT2fhrezegNwzV+ISKXt+GKCOcj/mxB8PdQayZ9M5PZwZAiX1YdPjUG5ETvLDJXlAA== 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=waeXO+UVaDSw3x34f/v0De4Ru/N1+gQUwIWG4Euai+w=; b=fGo8+4AypIji79WrtB+cyGcag7Os/J0l6yYLEMdqq9ynFu23CNRyjwwgmIeED/oppjPi1ivqgwSk3cibx7CYpE8aI5JV68Jz2Rfp5jqvcYCywzbZvWnB6eV3bqez29vApvOPI5QPh65ZJJw6u5hQwRSZf3lzXmtJwKwGWMHaOKonU9j0slbVwQmYa2Ek5nAhfAXIyIPH/ygrCHy1aYBTxgid6B/hnFfIFdoGvqOHHGAf1ab2KOXxB4Pu9mvxSGYa/sHmw85Aft78+Ma+msI6j+Oz+orPL2X7n55S6dichhuZyB2SpDw+v3pIfvFLAkgOzyd7L0OdSXk76OHzOrHkhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; 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=waeXO+UVaDSw3x34f/v0De4Ru/N1+gQUwIWG4Euai+w=; b=i68Mx8xM3673IC4MrnjiY1mrYWQTiZKa8sukAupxpxjm3nfPo09Npq5nkKq4nttmMO/bUIY5VBFKXAYOyiyi4YttaGHa9ftRbF/PfHE0cqC7e9lmPSjqXesJMKJD3B+I+9I2XMmEzDc3mLIArhnCaKDQ24Rw8S06ilwQBluT8Yc= Received: from BY5PR12MB4258.namprd12.prod.outlook.com (2603:10b6:a03:20d::10) by PH7PR12MB5926.namprd12.prod.outlook.com (2603:10b6:510:1d9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Mon, 3 Oct 2022 10:06:18 +0000 Received: from BY5PR12MB4258.namprd12.prod.outlook.com ([fe80::b9dc:4a95:7144:2b3c]) by BY5PR12MB4258.namprd12.prod.outlook.com ([fe80::b9dc:4a95:7144:2b3c%3]) with mapi id 15.20.5676.028; Mon, 3 Oct 2022 10:06:18 +0000 From: "Potthuri, Sai Krishna" To: "Tudor.Ambarus@microchip.com" , "pratyush@kernel.org" , "michael@walle.cc" , "miquel.raynal@bootlin.com" , "richard@nod.at" , "vigneshr@ti.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" CC: "devicetree@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "saikrishna12468@gmail.com" , "git (AMD-Xilinx)" Subject: RE: [PATCH v3 2/2] mtd: spi-nor: Add support for flash reset Thread-Topic: [PATCH v3 2/2] mtd: spi-nor: Add support for flash reset Thread-Index: AQHYw07vjkMZ5QQzXUimaba/7AEwIa38kn8AgAAD7EA= Date: Mon, 3 Oct 2022 10:06:18 +0000 Message-ID: References: <20220908064428.2962-1-sai.krishna.potthuri@amd.com> <20220908064428.2962-3-sai.krishna.potthuri@amd.com> <7777b2fc-8c22-22dd-1ffd-dfe8a21ea0d4@microchip.com> In-Reply-To: <7777b2fc-8c22-22dd-1ffd-dfe8a21ea0d4@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR12MB4258:EE_|PH7PR12MB5926:EE_ x-ms-office365-filtering-correlation-id: cf44dd09-d972-4aa9-7821-08daa526ea67 x-ld-processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: keDcsp3D19ION763BhfBvUwnQSaZFjP5pJNqLQHCW7EprHRj6AilUP0xpfDFyHua5vjBzO9bLq2ACEnLqMZ6tmDQyBNWB1RVWv2RBsZXUIH9qOkpxh+Fai1B/ubIYhduCnWuRYkf2w+RziTUrcyGWZ8Zj2Pe7OGneI6L9h3oSfMw7MHVxqD+I1POAoMuzNEU0GqFCyfNdWwVHGKc14QE9zQ6t7Zv14y4jbUY+MOqpbisoMig7ApWb//9I3FaYXf+bF4fZH7iRNBvzhefsmyj3nYMYeMWkt74n6Xl+/ZWGPZ+8DAUq+KrK4EJceLLtAHzaFoNeZN3BcQcnzjZYMePtm2Qp0Mc3BpE9WX7q2Nuzs+YB+6sRxovSOWG+2lXwrHn048aMW1fzwmgUW66ITZZN+7XySZxfEbuo999EyIkcbIOXcffr53K1kryjSCqUkqD9kWntcOMTc/cDDkUuNMDAzw8AfIsEP89bahb9PNwTSC37uuhOknasbJkY8FXemnStxJAvZjwXZG5nW1eGJ5nUc9D6uCGfLyRBH++bv6TFUDh5Ql/OrvdwJHRv6PIzNphCWxZVYUlV1CVShu8jxmh5pfnDoLQ84MAv03LIsGMhdQumbRdg8ECDgygPhBRCDw3fX//aj5rgIWyabtLXeN/0S+5pBSFgM6Ec/+guUl5/YLlqS+IVI6rCNBFUtx0vZdDlrlLaozx5+bKlUo9u/Q1F44ms++T8xBnmR2OqHgabBw93OwSNf7C87Yn+ChxmWwWYdTNzrNh0k9zXmYw2iHZFw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4258.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(451199015)(33656002)(38070700005)(55016003)(122000001)(38100700002)(54906003)(86362001)(110136005)(316002)(8676002)(71200400001)(7416002)(5660300002)(52536014)(8936002)(66476007)(66446008)(64756008)(66946007)(478600001)(66556008)(76116006)(2906002)(41300700001)(83380400001)(4326008)(7696005)(6506007)(53546011)(186003)(9686003)(26005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?aGtxdW56ZHpJQ3NOcFYvWW5tUUxoUkg5MHVqbTlGcFJLSE92dEI2MFVod2s0?= =?utf-8?B?c1lGRW9yZitZc1VXQ2FtTkNiaEl3NTE0bi9kbGlFb0h6WWdNWUdsMVhSc0Zn?= =?utf-8?B?NGxFUjRPREs5UmU1MUpZSjRHZHYrMEJPOVAwUXkvVy82cHNLQk9pNklqT0FV?= =?utf-8?B?czNUOWJkNG13NjN1NE5lQzk4ZDl5VDY5WmNCODVGUDBqSUhqUEJSaWdRZFpH?= =?utf-8?B?OGU5WGxsTXJEQVgrQUxCMW0xa2tpMDZUbFIrT1VQQno0dUxDMDNzU2tsR3dG?= =?utf-8?B?SHZ6dmR5VGRacjhCOHFBcWZ1c0ZocUFCVk55eFQxbWVGU3l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zz?= =?utf-8?Q?Ohbo=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4258.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf44dd09-d972-4aa9-7821-08daa526ea67 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2022 10:06:18.5711 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AsEEQvEtlZFI6pUa5pjH2FCIf5mM4erWQYypuYc5kGRBtMYoYbwRU1rFUI783rNY8Iy9Dl0WZ9+RCzJpbeYY9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5926 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: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVHVkb3IgQW1iYXJ1cywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9t OiBUdWRvci5BbWJhcnVzQG1pY3JvY2hpcC5jb20gPFR1ZG9yLkFtYmFydXNAbWljcm9jaGlwLmNv bT4NCj4gU2VudDogTW9uZGF5LCBPY3RvYmVyIDMsIDIwMjIgMzoxMyBQTQ0KPiBUbzogUG90dGh1 cmksIFNhaSBLcmlzaG5hIDxzYWkua3Jpc2huYS5wb3R0aH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