Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5400532ybi; Wed, 12 Jun 2019 01:46:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJ+SGhc2ZKfIn9euy95IgvkMb2CJxE9kyEIx9SoBwNTCtaDGrhrMZwC4EebY8e9s6Raw37 X-Received: by 2002:a62:e0c2:: with SMTP id d63mr28394949pfm.60.1560329167513; Wed, 12 Jun 2019 01:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560329167; cv=none; d=google.com; s=arc-20160816; b=O8q7XvXaqH7z7n5BSmqfSrTSOEhBOztEIWBUnQFMfybMhr56sydvIKMdJavn1SIEkF pJXwZO6KdLip4ZP7+VGoXRVv7GiTkxLgdfmlVxgxqA6n5MsbW7mzCoRM1vw2uUAaeE+P XKaoxg7gboYMhl1PtP4of0T3SxJDyjDbeqRKm73pIXv+y0SZZX2oRj9R/g4AsHfyYuiG +gK5IjtEmM/MbT9CUvtzohdoPhu9ITpwuZFF7W8m6uCQh1V+p4kP3Bh5qfLb1El/jP7G fX3Ijmee1KjtyJx2bPMqUMQ3efmSHisR+D9+MBlc5/boFMZIZp35AAaXrV/q+aGo9IED QVEw== 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=pyROn8lvmHWTyqCNJGyya/9QxX32riC3ZFOTdfjI8Vg=; b=TiWg4fmCIs1FpvkRxwQIQQ+YizsZh8T5xR+9eNT5Qv3yfhj+a4reb1hXl/6hNmgKwP 2xHPUyzHkElcnpxCWvFO7rnYmLKvLtnD8NVX8iHdBX4802xkXaEM0lrpXflOPW30WSPp iCAIShRtMAFBRTQuoWZCX/Y5Y4+iQRsez22m9sI5FVDC47HCxATmteGo8gZM3jUVx+PL gXu0qcJTBnffb5yhqaa3oQbaeEZ77RNXGaym3G4jQCarXoxiVNZGtUZ+EMc2jOoGwW09 FdiLqxC8dwJy0+rOgaFJpjYKXnyufIIehxp8BdNdi0rXUbPAQTvCq/zcuG50Zr/6fIQ+ 1hIw== 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=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si14592216pll.53.2019.06.12.01.45.52; Wed, 12 Jun 2019 01:46:07 -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=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436830AbfFLINA (ORCPT + 99 others); Wed, 12 Jun 2019 04:13:00 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:47022 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2436818AbfFLINA (ORCPT ); Wed, 12 Jun 2019 04:13:00 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5C88bOO030842; Wed, 12 Jun 2019 03:12:57 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0a-001ae601.pphosted.com with ESMTP id 2t0ae2wjud-1; Wed, 12 Jun 2019 03:12:57 -0500 Received: from EDIEX02.ad.cirrus.com (ediex02.ad.cirrus.com [198.61.84.81]) by mail4.cirrus.com (Postfix) with ESMTP id 8DC27611C8A7; Wed, 12 Jun 2019 03:13:12 -0500 (CDT) Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Wed, 12 Jun 2019 09:12:56 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Wed, 12 Jun 2019 09:12:56 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 2AEA02A1; Wed, 12 Jun 2019 09:12:56 +0100 (BST) Date: Wed, 12 Jun 2019 09:12:56 +0100 From: Charles Keepax To: Linus Walleij CC: Liam Girdwood , Mark Brown , , Richard Fitzgerald , Subject: Re: [PATCH v2] regulator: wm831x: Convert to use GPIO descriptors Message-ID: <20190612081256.GT28362@ediswmail.ad.cirrus.com> References: <20190612074222.10584-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190612074222.10584-1-linus.walleij@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120057 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 12, 2019 at 09:42:22AM +0200, Linus Walleij wrote: > This converts the Wolfson Micro WM831x DCDC converter to use > a GPIO descriptor for the GPIO driving the DVS pin. > > There is just one (non-DT) machine in the kernel using this, and > that is the Wolfson Micro (now Cirrus) Cragganmore 6410 so we > patch this board to pass a descriptor table and fix up the driver > accordingly. > > Cc: Charles Keepax > Cc: Richard Fitzgerald > Cc: patches@opensource.cirrus.com > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Use device name "wm831x-buckv.11" as described by Charles > - Use devm_gpiod_get() rather than the optional variant > --- Acked-by: Charles Keepax Thanks, Charles