Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1797449pxa; Sun, 23 Aug 2020 17:10:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHTF3DIC5JOWllC/lM0HukyTLcCTr3AHsxlF4qE9m25spQZKDAF7mYTVjZVbN9lemZINOy X-Received: by 2002:a05:6402:154b:: with SMTP id p11mr3007727edx.256.1598227805166; Sun, 23 Aug 2020 17:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598227805; cv=none; d=google.com; s=arc-20160816; b=Q2ILoQxL/2Wg2ynEqZnuIJwwBDyWn596L5yDAWPamstdXFrej3PGDkF06yi3h1mkAH xYW4SL9ks0w4S+IUYpI9taaSA9kSvByjhkky6eiGn0jGkfx6N6ThZD546UUfgk10N0u5 7Kr61bEobhRnZETTOrjQdumKXm9+sl/2IX3ez/hZrHRqJJyq6nrnajnqvt1Kr+Gen5Nx 3LzPktZUQLxeDyc0ha/FwtbQh8mTBnSoXZhgVZ+7oUsBYWy5qLFl4ziq0rGylo9034vW hMbdX/m4+8+5fFtU0nDmu6c8k6Xp+5kacGosO1eDPI+P/zQD/4jodSAh1kFlPC3tnL/s bUJQ== 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; bh=DsNx1odP/YEcqzvrhXfanAGbPNsXZWv6ctmqr1sGWfM=; b=Ky1z7G0jWSVIbj7WQaqjOPIRHWpiCy3kMkK/p0bPEK4gu6KE2FM/SULgSMrT15Rqvh Y+oYsm7bI+jkAd9WeFvKU+U7kj0vpqHiE1hyu+7jKR3gvSfPPwttgv1qGVkS9U8kgP50 UUafnRK74HPTEdE1yXNYTzKI36iq3XXyNTbLxck96ugiTkSIJDpgwmjdxa/I9GYu+OJa IjT51OXISJ7S2bCaQmAWG8QMfbTJwEJlA4DkbSlxv93ghmg6CAg9M6Ni4Rb2zY0C+Xp1 28lGH1HHT/JALrhv+KBHqZOBhbIqMNRgdj2NUn/7Y4POIBC2ToL8+Gi9/leG5NXhv7Q3 Vl8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OgrOdr3e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df28si1572890edb.550.2020.08.23.17.09.40; Sun, 23 Aug 2020 17:10:05 -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; dkim=pass header.i=@kernel.org header.s=default header.b=OgrOdr3e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbgHWX5i (ORCPT + 99 others); Sun, 23 Aug 2020 19:57:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:54744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726817AbgHWX5h (ORCPT ); Sun, 23 Aug 2020 19:57:37 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A5770206C1; Sun, 23 Aug 2020 23:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598227057; bh=ALznl+8TeWwxyWqI/+tIQ9lHHR6/tQSUvQ35rSPWQvM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OgrOdr3ekGyeqdfAOAvU4cJZkbNnuOBBn5qwu5lNXFbeKVRNmO3paFuWta0JXTs3F eXaWm09I+h+UDJZX0JkqiIGDln3rjcXX48xzlZSxajAuazfRCxvzT5PYnIkWW24pP1 yLitB1qHHwWeIHnR0eSpAJ6UV83pK8VoE9Ulen7Q= Date: Mon, 24 Aug 2020 07:57:32 +0800 From: Shawn Guo To: Fabio Estevam Cc: "S.j. Wang" , Rob Herring , Sascha Hauer , Sascha Hauer , dl-linux-imx , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH] ARM: dts: imx6sx-sdb: Add headphone detection for sound card Message-ID: <20200823235731.GV30094@dragon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 23, 2020 at 11:12:08AM -0300, Fabio Estevam wrote: > Hi Wang Shengjiu and Shawn, > > On Sun, Aug 23, 2020 at 9:31 AM S.j. Wang wrote: > > > I would like to know your opinion, should I move headphone detect GPIO > > To audmux group? > > What about adding a dedicated pinctrl_hp for the headphone detect pin > like it is done at: > https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/tree/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi?h=for-next&id=8f0216b006e5f553d28c4c1a991b5234693a49cb#n130 > > My point is that we should avoid adding a hog group when possible. I agree. Hog group should be used as the last sort, when there is no clear client device owning the pins. Shawn