Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp529513yba; Mon, 1 Apr 2019 11:08:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLBZJlQtxu/8mozVT7vacRb45DJI1s95VZN9vDPloWKe1i18uFrQhHr4COX0Y3QbY/KEjR X-Received: by 2002:a63:3190:: with SMTP id x138mr54908347pgx.273.1554142133051; Mon, 01 Apr 2019 11:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554142133; cv=none; d=google.com; s=arc-20160816; b=rPdjM2uSPibIZuvaaB7qOP5VmQI6nKw14qQE98/jJm+wivGIKPBJpdnFWZkTCZg0rq OsX68ap23M6iB6JfFZUpBRtXbvVESPB93RKeAVwLjMDcpeagW3FT6sVzE/Sm8bHyu6RE 4S5zmAKE+zSiX22w4pzVFbHVJgFKC/+RZd8rL0h11SeltmWwKwFysuZWx/fEZYqedMpL Vy+0T36ZPUxbU3jJ+kGwn+8T0pOKrB+BmJgaxyCc1UYvvHZ4lVsDL8JL7VDUEnZMhLI1 vNcXZ6vU7Rg1nNS/sE9gXJ+lxdNX5rMjf2d24oi97HSeiXGYBXGRLAJ/1ez71HhN9IF9 WsoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:mime-version:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from; bh=Pq0D7fWixUPci1w8wkc0qr2viJIX9yQXNtw6DTZaSKE=; b=RaSkygQvRsOOhJxpZ8nvgvq0b7Ui+0kFYZZhB6ETygCmo5bdhC5mos94Cv5FScv6+a jyF0LTf0XaLn8kRt3PPknMVEnq15Of7GXz8awX70rqH6RyCooC7CEQuGZ/sw3Z2RRGiM CrE43rRNrINvXtB+9hewSlKyYGuyc+0/td+O8sB8J7YdH5RYx/+Y8JBaFSLnuriKA8u2 DKCeQUHKvzEvm/UBtPHqgJM9LBzwjp/eVQnAXgxn4rQ8W0mITDEVAPuJL0GYTjLr+IMA 33YndKXz1dAXdmcc0fnjloTzENSAJnE+NweGrVkJfwY+LPKf0dHnxB2nMG4Bl+qw74V1 NX7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=cx3p+Otv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si8995518pff.201.2019.04.01.11.08.37; Mon, 01 Apr 2019 11:08:53 -0700 (PDT) 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=@nvidia.com header.s=n1 header.b=cx3p+Otv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730398AbfDASHy (ORCPT + 99 others); Mon, 1 Apr 2019 14:07:54 -0400 Received: from nat-hk.nvidia.com ([203.18.50.4]:4256 "EHLO nat-hk.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729589AbfDASHw (ORCPT ); Mon, 1 Apr 2019 14:07:52 -0400 Received: from hkpgpgate102.nvidia.com (Not Verified[10.18.92.100]) by nat-hk.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 02 Apr 2019 02:07:48 +0800 Received: from HKMAIL101.nvidia.com ([10.18.16.10]) by hkpgpgate102.nvidia.com (PGP Universal service); Mon, 01 Apr 2019 11:07:48 -0700 X-PGP-Universal: processed; by hkpgpgate102.nvidia.com on Mon, 01 Apr 2019 11:07:48 -0700 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 1 Apr 2019 18:07:48 +0000 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.56) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 1 Apr 2019 18:07:48 +0000 Received: from BYAPR12MB3398.namprd12.prod.outlook.com (20.178.196.24) by BYAPR12MB2936.namprd12.prod.outlook.com (20.179.91.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Mon, 1 Apr 2019 18:07:45 +0000 Received: from BYAPR12MB3398.namprd12.prod.outlook.com ([fe80::80de:b71d:ffd0:3d26]) by BYAPR12MB3398.namprd12.prod.outlook.com ([fe80::80de:b71d:ffd0:3d26%6]) with mapi id 15.20.1750.017; Mon, 1 Apr 2019 18:07:45 +0000 From: Sowjanya Komatineni To: Mark Brown CC: "thierry.reding@gmail.com" , Jonathan Hunter , Timo Alho , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "Krishna Yarlagadda" , Laxman Dewangan , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: RE: [PATCH V1 24/26] spi: tegra114: de-assert CS before SPI mode is reset to its default Thread-Topic: [PATCH V1 24/26] spi: tegra114: de-assert CS before SPI mode is reset to its default Thread-Index: AQHU5GIMZGFJTMMz0U+IEn8v+fuhv6Ym9icAgACrszA= Date: Mon, 1 Apr 2019 18:07:45 +0000 Message-ID: References: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> <1553666207-11414-24-git-send-email-skomatineni@nvidia.com> <20190401074940.GL2059@sirena.org.uk> In-Reply-To: <20190401074940.GL2059@sirena.org.uk> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=skomatineni@nvidia.com; x-originating-ip: [216.228.112.22] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61b5bcd0-c3a1-4ae8-efaa-08d6b6ccf100 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:BYAPR12MB2936; x-ms-traffictypediagnostic: BYAPR12MB2936: x-microsoft-antispam-prvs: x-forefront-prvs: 0994F5E0C5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(376002)(346002)(136003)(366004)(199004)(189003)(86362001)(9686003)(256004)(106356001)(8936002)(3846002)(8676002)(14444005)(14454004)(68736007)(81156014)(66066001)(33656002)(105586002)(81166006)(5660300002)(55016002)(74316002)(476003)(446003)(11346002)(97736004)(229853002)(76176011)(6246003)(4744005)(53936002)(486006)(7696005)(305945005)(6436002)(54906003)(6116002)(71200400001)(6916009)(186003)(71190400001)(52536014)(99286004)(6506007)(316002)(26005)(25786009)(4326008)(102836004)(2906002)(478600001)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR12MB2936;H:BYAPR12MB3398.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nvidia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Thsz406iWRaNfkaxGODi1S/yKTe58JCQAjC6YYrz+7Io3m66D/ZVSvIlZTT4ZaPKVwDxjsNvh6rs3LyPZqLcCRU74I0HJGftBZUuSJJCLZ6ioPikaLVMpCxx8I96nL7wcQymBRbo4HZJbIOx6sHgTJivUJFVnFkW570k3Q+rytT0B2ZuNJ8xgTWEPppxZVXQr7T5Mik8HiY1vKoXGwbxAgM7wIBjCFpa5g1mBv3szHImB1MJUWu90ZaJMYCL/aTJf3M9uiOPBbg0fZ/lTibHNyg7mhrD7if04XXggigbFK/Fjsrq1SXD1TzqVImNn5qgGiKWb1ph+5RQJ3LqnxsthWLjWmsLqeM89pmLuRjLCnvayGJbJ3Wket95uhWi3lFnqFutY6UeD2eiJhfo0vTNEbBNGTciAoq9xZFCSlTSiQ4= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 61b5bcd0-c3a1-4ae8-efaa-08d6b6ccf100 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2019 18:07:45.1076 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2936 X-OriginatorOrg: Nvidia.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1554142069; bh=Pq0D7fWixUPci1w8wkc0qr2viJIX9yQXNtw6DTZaSKE=; h=X-PGP-Universal:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-microsoft-antispam:x-ms-traffictypediagnostic: x-microsoft-antispam-prvs:x-forefront-prvs: x-forefront-antispam-report:received-spf: x-ms-exchange-senderadcheck:x-microsoft-antispam-message-info: MIME-Version:X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg: Content-Language:Content-Type:Content-Transfer-Encoding; b=cx3p+Otv9CbYB8uGMlcUZ189/7NHCQdU2JGY6rBCKL0N3cPB57YdwYtrALczV23sp rrGM039uHYocJtLOnjdHTw4PQd4bv642v9UmSfU7iJC26wccFrSlING9hilbIXd+pQ pcTTMlpSHAXqU7q4n9csqyEsmKek0oIff2Ugv4IRfO0mAzFbwdo4UPzo/+pqDPGSUV hvs0s89T3Xx1/I0zTQwROfiWdMeyg7gjAQIZcbihTftik4bWNM1LTpXWy/39lc/XL+ U5FFQGKfq+4XrxcmkfDyfs2ZCjqFVLOF0T4fs4wrcSfM81by29U4sO6K1XilG9GEbR GXbDpcQbfEyEg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, Mar 26, 2019 at 10:56:45PM -0700, Sowjanya Komatineni wrote: > > With SW CS, during transfer completion CS is de-asserted by writing=20 > > the default command1 register value to SPI_COMMAND1 register. With=20 > > this both mode and CS state are set at the same time and if current=20 > > transfer mode is different to default SPI mode and if mode change=20 > > happens prior to CS de-assert, clock polarity can change while CS is=20 > > active before transfer finishes. > > This is a bug fix so I'd expect it to be much earlier in the series befor= e any of the new features. Thanks Mark. Will change order as per your feedback in next version of patc= h series. I see you have applied some patches in V1 series so should I re-send again = those as well along with feedback changes in next version or just only the = patches that are not applied.