Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3339847ybl; Fri, 20 Dec 2019 07:43:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyv1INbH/hACRQmAYcjIXzkDyEMsYDYPn+B3Tge8ct0Ytd7LTpsYDtjbsWxb9QVx530BXTy X-Received: by 2002:a9d:7448:: with SMTP id p8mr5386361otk.96.1576856625459; Fri, 20 Dec 2019 07:43:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576856625; cv=pass; d=google.com; s=arc-20160816; b=i/maWp2q+z9oy0g/s2LsGt/0wl+fKWVwhR73eTH4yfoky2oPXtCV/BPdO1YxyAROfD srESrvM7mysaOaOtiDYg/+duqZ27Q+62AKE1Rhy79zD/aapSJGxCaZrVXZvluOyQUda9 Z6vni01Xa5FFmwOpOhbtddkKAiYUOtGboPFznnwHVmlKENiskWQ9Bau0AUPy6ASzikPM tAZyXQk3l6ooe6Br0ZNMSgwCZdO85zXsNz2xy+2FoXNwlUj984Vf7I2s4EkYVignkcur rl9AtoB7UFHmKbqC7I/VxVE5i48Hf6wZIM99ZwQJLjhyPwSCI76YgSllRtoqkfXIC9kd Su/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:ironport-sdr; bh=xOpqmFIKEzpepvnf2Ut7dbRynroMXnXS6O4ONIkrAIM=; b=mFWMtAbP2xZAXhAZ1XuPvbt0Gq82Ae7ldeJOH6XvgqRe9FDtXGymqtIPbfkvVHIdsR jmx9jh+ScP1wXGTUj08u96aitIZn2OaC+rHjt6UYgKWKTzHjFD34pl6o9NafczqAzprf NgN5351hKLJYkI/xP9WM8LIuXlUHhCD4SNhw7S+16ncQqchsdF+7azgvEA9PcLtt+h1O enEy1ZIfbJHBuk03ueS+2sCXrfNtKa+MfaxZ40+Jn0XltYAWUxp2oHjkENpZNwUk2MM9 aPdb/MXJbjhuhtZXNMee4NkhAHDjKSaVsQ4my/jaOVeaTTfdUyyPiWI0BQcAu08XQzfB l8UA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=Jkvasgdi; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si5465043otr.159.2019.12.20.07.43.33; Fri, 20 Dec 2019 07:43:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=Jkvasgdi; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727717AbfLTPmk (ORCPT + 99 others); Fri, 20 Dec 2019 10:42:40 -0500 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:9663 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727613AbfLTPmR (ORCPT ); Fri, 20 Dec 2019 10:42:17 -0500 Received-SPF: Pass (esa4.microchip.iphmx.com: domain of Nicolas.Ferre@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa4.microchip.iphmx.com; envelope-from="Nicolas.Ferre@microchip.com"; x-sender="Nicolas.Ferre@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com -exists:%{i}.spf.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa4.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa4.microchip.iphmx.com; envelope-from="Nicolas.Ferre@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa4.microchip.iphmx.com; spf=Pass smtp.mailfrom=Nicolas.Ferre@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: QGXlQ01Tv3Rm0uYjYsifKeytlMki4JMM2fbrvsq+lVC+74i7BEx8zqlOfZZCBDDx99PNhRRois reIQraPA8o5pX829ABeEU9qWMIsIJvbnv0Vx6QPSlfsQlBf5ipZ+m9qwX4V5UMFBgjBxFVCS6r AqWTpQUtwcjdYEQ70lRA8cE1rTD419uY1vdHLWKMJzxv1Ys+rIieKnq50C/gqBEnqqXMUEFIqd dgzVVa4Ldqf4DmAPui8ynxP2QQDBwHVXDjv4kiDfDmlZdOzr/5t/VfJvn5RB1HeYJUuRPArcUx I6A= X-IronPort-AV: E=Sophos;i="5.69,336,1571727600"; d="scan'208";a="59175751" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Dec 2019 08:42:16 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 20 Dec 2019 08:42:13 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 20 Dec 2019 08:42:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cXyQrxuLrWq5jSKQJTNQSZvaGDJFBF12VbiKhsYgJSYYOEagKBB4kl41TIZihcHfKMhwxJ+CPBKCJ5rjlh3GB3FVtTg9G3c2pyQW1Dcki8Ytn9f1y5+aDSYJ0VcezbS+CoBWi1ZqRxmrmkOaB567WpFvpw9Gxhu/HVrOxoaA/v7X0lPF+wiRq6w4bzpuZ/U+YwBly0lQa9Clohvt6pl2xwI5ZNAa/ftX4op+Ln+90hPO1LscylpKlI4Dqa/vY2UZ7yGeuudmorub7jVY6lHTAsX1VylCzSBmQWzYwfmJK6dW3hnZEJWysxsV1wM58xUUBcZWPTwHZHpWhvICuaX0Nw== 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-SenderADCheck; bh=xOpqmFIKEzpepvnf2Ut7dbRynroMXnXS6O4ONIkrAIM=; b=Y2CG1/I3hp3k9DLhAFdG4u9dTzefRnVEtO8ibJG4hr33FOSJTwFfH5oM85ptuTRXNdRxpoYBte98CoYH5UHqPEdY3H5uaIYQ61g9b+dbemodyqn+MpjZsIRukXdOkZltefCwP9aHINfJ8w3a31AF4FYmscBlMCvprapRIoDP4dpM4QMACwMyGFooRD2uMUMKcrnd85bowSEzxh3SPewm9k3LnQ26mqB7yvu043dY/YipvEkmBObyJKqZQwf0iZlVPTeFsLDFxkscg59D6deeAOglZaptuO8fzqEI3p7TyenAXKSDlJFynklvLzUtYAm2jBUozE/ejSh2yATs1aO6tA== 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=xOpqmFIKEzpepvnf2Ut7dbRynroMXnXS6O4ONIkrAIM=; b=JkvasgdiNZRe5S7oeFOWsKnMco6AcaZR9tY9gxCpEFYvVC6Y76eQiY1aQMOzfUKsdgiXIhufzVphLceuz4Hr6Ei8vY9jx9uetEwH50ECTbr1kKPnT4qmY6UBf+kxnr3zxYkVPyR3DmR8L/AWVbqW7Qq8dRVt1r8vb1lg3Iog3Vk= Received: from SN6PR11MB2830.namprd11.prod.outlook.com (52.135.91.21) by SN6PR11MB2909.namprd11.prod.outlook.com (52.135.126.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Fri, 20 Dec 2019 15:42:10 +0000 Received: from SN6PR11MB2830.namprd11.prod.outlook.com ([fe80::9439:53a6:d896:d176]) by SN6PR11MB2830.namprd11.prod.outlook.com ([fe80::9439:53a6:d896:d176%7]) with mapi id 15.20.2559.012; Fri, 20 Dec 2019 15:42:10 +0000 From: To: , , CC: , , Subject: Re: [PATCH v2 1/2] power: reset: at91-poweroff: introduce struct shdwc_reg_config Thread-Topic: [PATCH v2 1/2] power: reset: at91-poweroff: introduce struct shdwc_reg_config Thread-Index: AQHVt0qOlx7ofyKccU+5Noka4mrDhqfDKX0A Date: Fri, 20 Dec 2019 15:42:10 +0000 Message-ID: References: <1576855878-13213-1-git-send-email-claudiu.beznea@microchip.com> <1576855878-13213-2-git-send-email-claudiu.beznea@microchip.com> In-Reply-To: <1576855878-13213-2-git-send-email-claudiu.beznea@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [213.41.198.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8c56d138-c072-45db-bab8-08d785632d44 x-ms-traffictypediagnostic: SN6PR11MB2909: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:159; x-forefront-prvs: 025796F161 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(376002)(346002)(136003)(39860400002)(189003)(199004)(110136005)(5660300002)(186003)(54906003)(71200400001)(4326008)(316002)(86362001)(6486002)(76116006)(91956017)(66446008)(64756008)(66556008)(66476007)(66946007)(36756003)(81166006)(81156014)(8676002)(6512007)(2906002)(2616005)(26005)(8936002)(6506007)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR11MB2909;H:SN6PR11MB2830.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ONKDL/wtW8NmBxTNfycob5aBj9yDtTjBq/x44c9P0/qUCe6BkWnS0IF4V2pvCxO2JLjfRDb7ask5gKEtL9pJws8VoiEIfESfybe/YF9tsjrRsw4IVapH25pGslVnBtXgvu8DTkqqSpuKLFJKdhIcrZ/EeSQg2pylXFUezIEMn0mWojMCiKBqVIdELZPrp/RaX9pOhUOn62/yU/SBotxygcXQuYQTa+hkPnb2FHdHe0f09leSo4J8B6jJ+kH/khbLflKLjME2kFlSznaOD4tp2WpLgEetI/iK67YwSmtCC8jYpH3j2zAqFNe4i7IE+IvFIAsLbV528tBMrm8mmybQEGo6fZVJMY7TpxG5v3GcKkE7exLwxYniPa45tUG7EGHmM7FEdnPREdI6FaLir8TEw1y3ChkJCu33AzuhmwUVvVVRqafwch+LhnmqPzM13Ncc Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8c56d138-c072-45db-bab8-08d785632d44 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2019 15:42:10.2860 (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: q2gaHUGJZEgta9hKvIrspmS3JNqm1W5jcsR3UJd8SVp7Do/fLCwUxoSxMNj0PLUN5LhIpjW/Wr3ul+b2jfmWwuNQmakwXMabUkXzSbcb9e0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2909 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TGUgdmVuZHJlZGkgMjAgZMOpY2VtYnJlIDIwMTkgw6AgMTc6MzEgKzAyMDAsIENsYXVkaXUgQmV6 bmVhIGEgw6ljcml0IDoNCj4gVGhpcyBkcml2ZXIgdXNlcyBBVDkxX1BNQ19NQ0tSIGluIHBvd2Vy b2ZmKCkgZnVuY3Rpb24uIEJ1dCB0aGUNCj4gU0FNOVg2MCdzIFBNQyB2ZXJzaW9ucyBtYXBzIEFU OTFfUE1DX01DS1IgZnVuY3Rpb25hbGl0eSBhdCBkaWZmZXJlbnQNCj4gb2Zmc2V0IGNvbXBhcmVk IHRvIHRoZSBTQU1BNUQyJ3Mgb25lLiBUaGlzIHBhdGNoIHByZXBhcmVzIHRoZSBmaWVsZA0KPiBz byB0aGF0IGRpZmZlcmVudCBBVDkxX1BNQ19NQ0tSJ3Mgb2Zmc2V0cyB0byBiZSBpbnRyb2R1Y2Vk IGluDQo+IHN0cnVjdC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