Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp75833ybt; Tue, 30 Jun 2020 15:09:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhUunSXnNdimPoZHwQSYMUhe7J8GaL2VYaxF+m2+WkOk6S9AoknKPx5mubMdDpPsLBrd3P X-Received: by 2002:a17:906:3b15:: with SMTP id g21mr19360768ejf.221.1593554551622; Tue, 30 Jun 2020 15:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593554551; cv=none; d=google.com; s=arc-20160816; b=Lx4TQ+H8G0l3xPm2a9jXYuxCZLSapSKSxdrGBqvjcoX6uF7sCvXO035HjFYsSYtCqs 1HXwTnuL+KfnP42TsBwQXOonovdw/rN88oDacCoVy2ZWUvuLOLTjkc45/7xkfK/8BfeM i6vYce4XCnTCS/x2/x9eQkPNaRwSREJ5IfufUdIZSWnLTZCJbnjlPoguSWdTkVVaBhQl sznhxYpwG1igHeG950lH7yo89kuDIblKaCACLzqB0xpCrAvOO0+5fYClcIjf4whd5B1c AoOckEdnAp2/oJZnbBnC2mfvIE5rV3yfYwSokAR889kTNWVCXJzwdV4rr+Jt3HdCAH3U 7L+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4uRDmbUqdvkOU+UxOOpcmtM+JBPcNktjunJMPVrrhQg=; b=fxE2pivNzwnp9LdtjolrT+IUHFLyt7pWNvzrk5vWoNoRO7Ce/M2Ac5rWaNd9KD65DX NK1Ijuig6Lubs0gJlumnHSYe1N9yHhsbD9PGICi4YRo/F1+NtqiMiRFi3Qybe4E2vYbq wAlHbsz2IiQi3/Y361dkg6cTqZGWmoEpLP6kc+chi4rwkDuDw+T436Jr2M3+sGaiM0bD oRnDCKNi7bg8dFtjd3VjXJZw/z2riUfOvWGhcmHWs8JxkOS96fUMpWZY3nf4xTfu/Jwj 2IijW5pFRvSO4ITLzEU12nXZtQ7vTE94H3PL4zCAZuf/GqkEluUJ366AWWXiB96COx87 4IoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r5si2511529edo.130.2020.06.30.15.02.07; Tue, 30 Jun 2020 15:02:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729487AbgF3Ve1 (ORCPT + 99 others); Tue, 30 Jun 2020 17:34:27 -0400 Received: from muru.com ([72.249.23.125]:60142 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbgF3Ve1 (ORCPT ); Tue, 30 Jun 2020 17:34:27 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9CB7881A8; Tue, 30 Jun 2020 21:35:18 +0000 (UTC) Date: Tue, 30 Jun 2020 14:34:23 -0700 From: Tony Lindgren To: Drew Fustini Cc: Rob Herring , bcousson@baylibre.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Kridner , Robert Nelson , "H . Nikolaus Schaller" , Linus Walleij Subject: Re: [PATCH v2] ARM: dts: am335x-pocketbeagle: set default mux for gpio pins Message-ID: <20200630213423.GG37466@atomide.com> References: <20200628152442.322593-1-drew@beagleboard.org> <20200629170358.GT37466@atomide.com> <20200630020102.GA45128@x1> <20200630182037.GF37466@atomide.com> <20200630213155.GA115731@x1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200630213155.GA115731@x1> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Drew Fustini [200630 21:32]: > On Tue, Jun 30, 2020 at 11:20:37AM -0700, Tony Lindgren wrote: ... > > > > Needing to change the dts does not sound good to me.. But maybe you mean > > > > this is needed until the gpio-omap and pinctrl-single patches are merged? > > > > > > I agree that I would like for userspace to be able to do run-time > > > changes. However, I think something would need to be added to the > > > pinconf support in pinctrl-single for that to be possible. There are > > > bias properties but non for receiver enable. > > > > > > Does it seem sensible to add that? > > > > Well let's see with Linus W says. To me it seems this might be a good > > reason to allow a sysfs interface to change the pinctrl if we don't > > have it yet? With the proper gpio line naming it should be quite simple > > to use too :) > > I think if pinctrl-single allowed mux to be set through debugfs that > could be one solution to the use case of users prototyping with a > beaglebone. Maybe that could be acceptable? I think this should not depend on debugfs though, it should be a generic interface. Regards, Tony