Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1550317pxa; Sun, 23 Aug 2020 07:13:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTiQ+bdaS59B2burgJIjQsG2hqdDrI8YHaylzKinoYBrkL4DNcyeriHyh+DVOqaqwho1eN X-Received: by 2002:a50:fe0a:: with SMTP id f10mr1465450edt.264.1598191999986; Sun, 23 Aug 2020 07:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598191999; cv=none; d=google.com; s=arc-20160816; b=yYbegONRVERyXxF4BejpHr5caXGKE5Fq0S+IIMuvS42OZLRmpg/x0lIs78cjfPIns4 Ajp0YCgnHg76du4lD0UHvMJ6RVOIq+Pa1sRQtbM4CnvVrVuEVucY+pxmIQs1n5ijNnhC CX60b8iwFUC30DYOxBssEg+5b77ffwtT+7rEk2k7qCJFsGDzyYoA2fUuiSBwz/dDrD23 HP5yegiQAVsOaCv69TVg4ZQHwLQaGUH8wBLsJenA1meVnMN9cls+2N1UYRdzSPsCzA3H XiWSQ3z4i3pM527W4MOYDT3BSfzpgz8b8H5pLiIlNxTazTSZegNviJ1brP7WmlDAt3I+ KiHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TSlo4b8ovN8j9ufmCxToQYw7EM4pY/SThcXYNxp45Nw=; b=AU0No7/FVfJ6OtFgekKxS10gMAY2RT4ju9JyMFXlNt7fw2igSbf1CLbMkXEOZoR+ha 4sQjf9BjoBJPF4A2afB13J3NaHWCN/zp02VkM2JrSaoYOSaXPkZ5v6Jnak0qOdhPLqLG NaFi+xP/eDzkLYrE3QsqftkoPorteN/7HK4+NIHNIh+0H+u+y3mlTqUUnKGeoo8i7a7J kPnTwA8AGmC+X4O2D1I6XXN0js3165kenzTY/o7yDqsNoryH+P25c9ulFY328N4ZmfwK 6rTE/AvF3WZjMZ3tyWNmousHIlrtsICuTm8ck+E2jp3lfuuDKTDWfXSxx+28zcmzXb20 erNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bbSDWEMr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h25si5121240eje.30.2020.08.23.07.12.57; Sun, 23 Aug 2020 07:13:19 -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=@gmail.com header.s=20161025 header.b=bbSDWEMr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgHWOMY (ORCPT + 99 others); Sun, 23 Aug 2020 10:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbgHWOMV (ORCPT ); Sun, 23 Aug 2020 10:12:21 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8856C061573; Sun, 23 Aug 2020 07:12:20 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id j15so3102986lfg.7; Sun, 23 Aug 2020 07:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TSlo4b8ovN8j9ufmCxToQYw7EM4pY/SThcXYNxp45Nw=; b=bbSDWEMrNigm9slWkT5KqfUYK5OtYrdkHoE5553RGh0BehhoZj7vSGT0VzumMHfjYR oj7zjyDghGHeRTNLY6AG9t0gWrN138M9PYNFyizwNOd2jWkqAvrE9rCUJcao4jMQHNE1 odfb9/FxVSr7DTzyvxnL5KJbfYnUiOJGm+oQBomMO7FPqimEX4JzcyQXtwGRgLT6ikoa WsChrxXwbiBaoe6mpYJtWgTe7m30cHBn+PjfsivnArGWDsetq7gwDrib6tC2OTgSXFrx hwvhMksq+RQM4nw3wDtV/uA3dQvmJ4PUQPvgEHc11l37d7yaCxM6FQI7CvOQLb2/C0E9 xRZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TSlo4b8ovN8j9ufmCxToQYw7EM4pY/SThcXYNxp45Nw=; b=rC3xDOsCyHxtOc7w4IwSlD8KjKKyMwKr0gll0Yf7Y93U+7Qh7HtKA96B4QlyYWJix+ 7huw3K+9chQwVUSqMCVCgWs8/aSZTZYyUW1I1K5TLz/jvir2YG3o0X4snUItku0VdFYX e6Y66tDjKPwCzvwBJdFYDnTZApL902Q+QULW2kee25LEKbCgKt7XBsK2HMQVYZkOd9Xo 26wzoJW/PSvwcxnuh/G7xShrwOwBBY3DwvJx2tWJ8UUdP5k89nOi9Gy03tJJ/Z5NxPGs ojse/HAkjpoGhAcMD8jQ0/4YZWBWlGnOjokUCyxySDw5jIdW7+JJOk82C/HVn2Sx+Tg3 8fEg== X-Gm-Message-State: AOAM531qwFhShNdkskJsRsI15zbuk0Rz/v7Id5zBGjLJiWDbOxU+cx1y 6jFwjYN4MzSOAt0qqPmCoXaOVyGCoRv4ghA56M0= X-Received: by 2002:a19:4801:: with SMTP id v1mr370564lfa.56.1598191939039; Sun, 23 Aug 2020 07:12:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fabio Estevam Date: Sun, 23 Aug 2020 11:12:08 -0300 Message-ID: Subject: Re: [PATCH] ARM: dts: imx6sx-sdb: Add headphone detection for sound card To: "S.j. Wang" Cc: Shawn Guo , 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks