Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1872206ima; Thu, 25 Oct 2018 06:22:02 -0700 (PDT) X-Google-Smtp-Source: AJdET5ctOwfN5xHiL+sZIRtGM3AJ8RY4KmN8ekbxo8KirsU46gLZGSlxg+dfYwa5RlkqeJGSzo9N X-Received: by 2002:a62:9951:: with SMTP id d78-v6mr1512482pfe.239.1540473722177; Thu, 25 Oct 2018 06:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540473722; cv=none; d=google.com; s=arc-20160816; b=Erg+2dH8mkZ2vLPKRM0qv76XrcXMw/t1fV/iT027iPDFP4ZCCauCK5yyM6Tl7Fn7Jr lcBh5A5ql0oM57tuRVvL7JFARNEEzyGJbuWVzVHmjoGEY2u4WrDHx7IFFzrKNa306PWt vfC713n7EW4pesJmHCKIwnHe/2buCQd0IlxfjYLTeAQaiaa+xr3ahweCpY6D5OfpX0yo FegO1V2EkZ5ugBbwrq5WqFKpb1SNV7luxAl55iGfrzw89O6Xm+iN13KAMgMmjiJZIcX4 5iDBg3p/SKVfkTTedRZHAxgNN8/6A1XRmlHBzc9eeTtvoOVyky6u/+xbMsDGjP53emja vDKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/qFfplnoxXrpw02oqeeZtYSVnFTp6K2sCdSKQtWzepQ=; b=yGkLHz3lgmAgctAgTjZxpHEMHM1R3DO6Xt2i4X9hqeajKeP/Q18/N/OmwPU1Amt4pP 44/CmmPglmgkibcaqSxmFxVU07NdUTsOQ4iJqDA8uVJ2PQdSmiZ95BbUeE4cdPfl4x47 YtU62xDXdvFhzAwYE+ikmRxLD88VtBusBRIYt3EO1Ipp+/ngS23AgRjFvgnE4fbwrcOh 4JgvfMvcfQXphw8Mm195oGCldNaNpd9OcIc5QrUMYlo625Fw9AX68h3HBKmnbGooqn0F YseD2cZ8qUrBeceEuHjtcrfO+RH8GjMP5bn0pHzVrNHMcV0gQyCJ6Eti2QADdafu8Eay y2nQ== ARC-Authentication-Results: i=1; mx.google.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=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4-v6si8190259pgn.176.2018.10.25.06.21.43; Thu, 25 Oct 2018 06:22:02 -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; 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=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727416AbeJYVxg (ORCPT + 99 others); Thu, 25 Oct 2018 17:53:36 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:34620 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727234AbeJYVxg (ORCPT ); Thu, 25 Oct 2018 17:53:36 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.23/8.16.0.23) with SMTP id w9PDGc9B022635; Thu, 25 Oct 2018 08:20:45 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20]) by mx0a-001ae601.pphosted.com with ESMTP id 2n81s36u59-1; Thu, 25 Oct 2018 08:20:45 -0500 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail1.cirrus.com (Postfix) with ESMTP id A4DAF611C8B7; Thu, 25 Oct 2018 08:20:44 -0500 (CDT) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Thu, 25 Oct 2018 14:20:43 +0100 Received: from imbe.wolfsonmicro.main (imbe.wolfsonmicro.main [198.61.95.81]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id w9PDKhVx010911; Thu, 25 Oct 2018 14:20:43 +0100 Date: Thu, 25 Oct 2018 14:20:43 +0100 From: Charles Keepax To: Lee Jones CC: Richard Fitzgerald , , , , , , , , , , , , Subject: Re: [PATCH v2 2/5] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar Message-ID: <20181025132043.GG16508@imbe.wolfsonmicro.main> References: <20181008132542.19775-1-ckeepax@opensource.cirrus.com> <20181008132542.19775-2-ckeepax@opensource.cirrus.com> <20181025074459.GF4939@dell> <20181025082621.GD16508@imbe.wolfsonmicro.main> <20181025114205.GC4870@dell> <20181025124905.GF16508@imbe.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20181025124905.GF16508@imbe.wolfsonmicro.main> User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=967 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810250115 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 25, 2018 at 01:49:05PM +0100, Charles Keepax wrote: > On Thu, Oct 25, 2018 at 12:42:05PM +0100, Lee Jones wrote: > > On Thu, 25 Oct 2018, Richard Fitzgerald wrote: > > > On 25/10/18 09:26, Charles Keepax wrote: > > > > On Thu, Oct 25, 2018 at 08:44:59AM +0100, Lee Jones wrote: > > > > > On Mon, 08 Oct 2018, Charles Keepax wrote: > > > > > > From: Charles Keepax > > > > I really feel this isn't the driver you are objecting to as such > > > > but the way regmap operates and also we seem to always have the same > > > > discussions around regmap every time we push a driver. > > > > Absolutely. I didn't like it before. I like it even less now. > > > > I guess the question from my side becomes do you want to block > this driver pending on major refactoring to regmap? I will have a > think about what I can do but its going to affect a LOT of drivers. > Actually one more thought, perhaps as a halfway for now i could look into removing the readables and defaults. We lose some things like error checking that we are reading real registers but as this driver doesnt currently do cache syncs we might be able to get away with this for now. Unless anyone strenuously objects i will have a look at the options there. As well as looking at wider refactoring but aiming further out. Thanks, Charles