Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2945738imm; Thu, 24 May 2018 19:38:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpj5Uve/dgmv7wjvscH30OipQCag30Ss0IQdleN5zx20W1Fg/9015ew67Yh4Vj8xmrbB0cq X-Received: by 2002:a63:b54b:: with SMTP id u11-v6mr439903pgo.365.1527215881354; Thu, 24 May 2018 19:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215881; cv=none; d=google.com; s=arc-20160816; b=gVMC3lfCDkPhXIXo05OxlApx1zs46L4eFJGpEoVJhhHajE+E8wia6GM+FpUu/CePXK D82wGFHbxNalQvzcShXDeHtHdmPjSROuYdQLYEcou8gJL+pKww4j2UCaIR1aDIUx/Fbg TziOpoGgxle4KWGB9njHSC9dU6o01NTsu+pkdXhMW5+EeRwXBq7qLyPEGuMTtrQo2R5O tcCosAOXbdiIyH0/+mGp0IUxl835/2gO6h4opHb14CBIDvPbkDu7TK7p6iwIlE2zHK3L 8C7weOv526xP3wsX/MKgb6a2Q7KqvrIoFh6lVTFEsCbBiZi7hFrJ4cWL9G5+dnbstXZu w03A== 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:dkim-signature:arc-authentication-results; bh=8cfGZyMHgWauzhIdKJrIDhW/M9UdBuxhvc2L7/QI58c=; b=ntsqmd60i1ttZWqybKa0B6cNbB/UVFFSB6AR8BNB2CKMQYk49w7x0BsuC+fsXp/dNn udNGU5MYngL6m5ie7PUP07AS4raGwndxwQVnS4WwHKVMbKsK+dx5F2jQClmfz0oYPUxw j00c6IikdhefH5Rq6Khhm+C2ETceCqYBpvp88a7QYW3DZDfYDDdimYYELHXJFOIfb8i/ GOveMII17e8bzyaSv87fJYBHl8AyLZxhVRdCYbZfRgWFs5l5fv+jdoBy9mMsDj9qqDcT CAC25UysEwF/i6TwCUhi0L/e7R5EIQkhO2bvZ2wjFKuxTNsA5qxLuJHVVJk/UEKGjUqU rxRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=McgdhTw/; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n125-v6si22603186pfn.352.2018.05.24.19.37.46; Thu, 24 May 2018 19:38:01 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=McgdhTw/; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970294AbeEXSQh (ORCPT + 99 others); Thu, 24 May 2018 14:16:37 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43998 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965842AbeEXSQd (ORCPT ); Thu, 24 May 2018 14:16:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8cfGZyMHgWauzhIdKJrIDhW/M9UdBuxhvc2L7/QI58c=; b=McgdhTw/h+lHD8fU2GJWhua+O PMGuH8NhiYc2RKqCIHUOW+dkXI0y+ewa22u/M996m1mK0ZWknFgB56JeoykRB6GGoFQD4JTkU+P9J ZeolzaAoAiNV46Y7lVoVldqNjKCbaVMifXZu1jSZZjo41rocBzi4F+fYVZWd+/yD9dEmw=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fLumr-0006J7-Ag; Thu, 24 May 2018 18:16:29 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fLumq-00074w-Tj; Thu, 24 May 2018 19:16:28 +0100 Date: Thu, 24 May 2018 19:16:28 +0100 From: Mark Brown To: Alexandre Belloni Cc: Radu Pirea , Andy Shevchenko , devicetree , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List , linux-arm Mailing List , linux-spi , Mark Rutland , Rob Herring , Lee Jones , Greg Kroah-Hartman , Jiri Slaby , Richard Genoud , Nicolas Ferre Subject: Re: [PATCH v3 5/6] spi: at91-usart: add driver for at91-usart as spi Message-ID: <20180524181628.GE4828@sirena.org.uk> References: <20180511103822.31698-1-radu.pirea@microchip.com> <20180511103822.31698-6-radu.pirea@microchip.com> <5a3930b867cf8c279953d08c5d5dd1d93113a43b.camel@microchip.com> <20180517045437.GE20254@sirena.org.uk> <0e6e71e2-f8ac-7889-0d81-8d8a4c15223d@microchip.com> <20180524175620.GB12093@piout.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fzZfjcV6kaBgkq89" Content-Disposition: inline In-Reply-To: <20180524175620.GB12093@piout.net> X-Cookie: Excellent day to have a rotten day. User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fzZfjcV6kaBgkq89 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 24, 2018 at 07:56:20PM +0200, Alexandre Belloni wrote: > Back in 2014, I was suggesting using devm_gpio_request_one() in > of_spi_register_master(). That would take care of setting the direction > of the GPIO: > https://www.spinics.net/lists/arm-kernel/msg351251.html > I never took the time to create the patch and test though. Right, this'd be ideal but unfortunately it does mean we'd have to transition all the existing users that open code their requests which is a pain. It'd be really nice if someone had the time/enthusiam to do it though. --fzZfjcV6kaBgkq89 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlsHAXwACgkQJNaLcl1U h9ByOQgAhs9RFeiFQSgUep94tUUdJU85bZVBQRkfQiidVevSbmmgtz05neQXGEIW UxyKwshNRVCqV2cnNMKLrLCjLOMS46TdgEfUnkzWegJQ0vhwj+XJ+AWJtCPwFZaT CdROhNgbhE6zNCNJGNEc8kUNrAscKV/bllQh6M6SceLpddXqcnbtgdPF6+iOKAKh LDWT7nzUeX49b0zEmMfnoSHLBdpQjrQui4an3bllPpZ3XB0IipIHKX+gU0lqpYSw qzN8auPOdD1Wqk70KfWi/+PK1flmqlQ4d9eJEOf02/zLSG7p/BjjVBKmT60DkN9+ sM0kLWPGAOrqz+msZG7H3CegweQ9Hw== =dq7H -----END PGP SIGNATURE----- --fzZfjcV6kaBgkq89--