Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp262191rdh; Wed, 7 Feb 2024 04:15:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpvsFqT9By9sizltOSRC8nW41zNtX6oWurmiVmM2jSzXzw8gfPUmfvGY946LQJmSkU0aO4 X-Received: by 2002:ac2:4c30:0:b0:511:4c73:2374 with SMTP id u16-20020ac24c30000000b005114c732374mr3561396lfq.69.1707308136688; Wed, 07 Feb 2024 04:15:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707308136; cv=pass; d=google.com; s=arc-20160816; b=TQKRGrO03pGdGBhprAHqKZiPKlQCZw/nPIsye3Y4MjKPrt284Iw+qN4HLqVEhMrZ9z ut4iSPRqgpZTjjKxSUq6x9Wa25b95CHjRxRXrskNZXx/+wDbr2WX7I+TzO5Y0AogWyXV ABYSyjt9XsTkCSt58AbhzwuW9oIacvMhQv9elTttEdXN9iu2xac8KlJbnKpV1haHrawM zIxWi8Z+dblbW+Ssamytm1GrohRb2G1RypKbJZzGisHBQVwyKKv6cpcQqOaIcVJPjW2/ jGkFFpAa9T7uP3RldROn+R+LA/cGAvZLIXZ1Y9SqeWAZvT6L1jYQUBLFCo7dn0cx8ltz EBrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=OuLrru992ih0jVgPqhc6BGODzJKX7dSYAE4pwNcmuGI=; fh=M64RuOTkQTY4Cax+tf0AlVnGT21MyYbu3qYTM4GC9KE=; b=WPEwmLPKWGmSwWn63U64AW68veo2BKNV9W9BrPvg5ndAZmCizc5AVMUx7omRybS8zv yDh89hQJGpL8Nk7JXxLDbTWbByOa+dO53FpY74Jr4x9Jf7ocbwL1tT91+g/oQkZVxCEv vk/2XPSuvP6Qv+5Rs0/JToBWNutkaXgNBYdcwRRQ3tMqHgl0qKpqobqlMNLrJ9ltk2OC fWLHL3iqyzMOl4uwYlsNn467n+wE9iwv9ZoMwiPe+sukSoqUEgEfeMtULJJq5Gwa5p/k djBgn48nPMZ2WdQ6PtgJhVj93Nhubz2n8atAIcd6FtFgUQ7rT0tb2cnitm3vlgZzR9x7 C4JQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hIqhqKzL; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-56472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCX5fWqDmHN+uxL7K/kNp7CeceEu39i9L94TsFcv7RKopPeNEn929ZkLEOlEXJ55MorpJTJvF2CGz+HHI+fWJSFyIzmVQvt8PO8HqUsKdg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s21-20020a1709060c1500b00a35b44ee28dsi811070ejf.732.2024.02.07.04.15.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:15:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hIqhqKzL; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-56472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 69EA91F21C76 for ; Wed, 7 Feb 2024 12:15:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DFF85A0E1; Wed, 7 Feb 2024 12:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="hIqhqKzL" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E18459B6C; Wed, 7 Feb 2024 12:15:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707308127; cv=none; b=j3iiqTEiGpdwfyATaRonrtokACTM13PykFK1ckFRAW77F9o8vrVPv9ArDXU/C2CwXRmFXsZ/gUESER36JRJTX4+k9dpPQfaazYLoH1mJNsH3p8iMILM0DHOTZhNwI2Bxi8VYILtFVnraFA0HBoN6hphu/+IgQntdUOV+8hrfoL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707308127; c=relaxed/simple; bh=NybHckFncJ0KkN3jVVXoKqPgsh3dBuBh1zYR1aSYl7U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kC4mrjxQZv0heh0S+ND9QQx08KkA3Qkh+NLATO1GBS5BvQocn0/n+1RWbD72z2vGLj6lBu5r1KDRPpdeDQ+t8GcnDhE6dMwv8kuXJGmwE5UYdrSTdllcA7WG2rPWgle7zwj0tMR3Aq+os9QXiIZbQ/utUdkcwg8A0rAqK8jSnK0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=hIqhqKzL; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707308122; bh=NybHckFncJ0KkN3jVVXoKqPgsh3dBuBh1zYR1aSYl7U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hIqhqKzLQgafMDRbj201qbF4xnuBIHKB1ewOafY290qM7BbS2kVtstC/8PkOIwCs0 JIFU4lu7LCkHUL+Gs7/Z/ZChsx4pDEdd9ZtivAddd9aiwN2gU9L3IacWe4vlF45Sbf uC9RkS9RVgKO/v3D4Us8BlpHE9GyCZy1Ov8RCRhO5kaUXgNZeQPd0Gtmy5NS/84eOK 74X/79V+V1qxWqhJgsoLyQ8LCl6YTI2TfcNoDXyM+JqnXBPuuO/ddqW8fuaW9/tNqg GWPQD8jBdWZeNUN21GE4wKkVVqLriMgZGt9fAty9+xezpsd7JPAYhnIAgRKqIRy9rq 4dec2ld9v9MIw== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id AB3933782069; Wed, 7 Feb 2024 12:15:21 +0000 (UTC) Message-ID: <48aa9df6-44fc-4d1a-8eeb-0e9fdd8b8833@collabora.com> Date: Wed, 7 Feb 2024 13:15:20 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: msm8976: Declare and use SDC1 pins To: Marijn Suijten , Konrad Dybcio , g@somainline.org Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , ~postmarketos/upstreaming@lists.sr.ht, Luca Weiss , Adam Skladowski , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> <20240121-msm8976-dt-v2-4-7b186a02dc72@somainline.org> <808bd239-6a61-4932-ab91-3dcbe10a7a05@linaro.org> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 06/02/24 23:36, Marijn Suijten ha scritto: > On 2024-02-06 19:58:50, Konrad Dybcio wrote: >> On 21.01.2024 23:33, Marijn Suijten wrote: >>> Add the pinctrl states for SDC1 and use them on sdhc_1. >>> >>> Signed-off-by: Marijn Suijten >>> --- >> >> [...] >> >> >>> @@ -840,6 +890,11 @@ sdhc_1: mmc@7824900 { >>> <&gcc GCC_SDCC1_APPS_CLK>, >>> <&rpmcc RPM_SMD_XO_CLK_SRC>; >>> clock-names = "iface", "core", "xo"; >>> + >>> + pinctrl-names = "default", "sleep"; >>> + pinctrl-0 = <&sdc1_on_state>; >>> + pinctrl-1 = <&sdc1_off_state>; >> >> -names should go last > Konrad is technically correct as per [1] but, for consistency, since all of the other nodes in msm8976.dtsi are following that order for pinctrl, this version of the patch is correct. That, unless anyone wants to reorder everything in this file as per [1], which may or may not be worth the noise. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst Regards, Angelo > Per the cover letter: > > - Moved pinctrl-names before pinctrl-N (Konrad); > > You explicitly requested this in https://lore.kernel.org/linux-arm-msm/60a40ace-d4e9-df74-88f9-4354d80efaac@linaro.org/#t > but we also backtracked on it somewhat for consistency with other -names, and the general state of this file. > > Maybe we should apply v1 of this specific patch? > > - Marijn