Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5167268rdb; Wed, 13 Dec 2023 00:15:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHyKNPNZ6iRPQFcP3nTIJRzgGGLPs8952fJf70GHVeZYH4O2S3cGaSPgkKoznUnAkn/uli X-Received: by 2002:a05:6a20:8e1f:b0:18f:97c:824a with SMTP id y31-20020a056a208e1f00b0018f097c824amr4130853pzj.84.1702455348897; Wed, 13 Dec 2023 00:15:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702455348; cv=none; d=google.com; s=arc-20160816; b=C+/Bqtmlhr/c7PpWlyx7g2WGmuC3Yhxu3169xE1/WqbFebnnEEEd9oxm1wZvA1767O giVRW9MkztcBsaXqJ56eoaqWqtUAI3HSjSSNvHXfTJt8fT2/K/z+UnBHCe/SwQJXcgH1 QZl0GYpx9gdJ7Lmf0v2tSatw7sDS/bRjhCLus8qZuUHDbmEd2+2Skc+HELXP13T1wNMy 0NmIKzPyYI68fMFfBKiVD3+LBVg6jj8LKBnNOKiWDqqaMckPubMDZPJcBRBIq+jPYNy9 Nb7fBNJ+PtbGXJPDJGyde5tZnQYDq0ieGHxg94GBjOiwfTsEBazyyqhxa5P7VhkeNcI2 xUNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=Qg3/WicGNss8PVwXMd3IQ5VkA5POBdOm00ZLLplNk0c=; fh=Wxwmrf3fZO02awwyGjo2YRb0AkeJPpkc7Bccl97THA4=; b=IgBQ7l2gLF6XW1TvIaz6odAHxva4+LlFqrT1eBqoOiTvFUiVOiGmDpOe1xWPf2F+3j RNTady9jVturMl3zldyxvUm+2vMJGwkeSP55/M+A7ADfhlFBgDyUAvCMKULjcKCUrlVG WkbG5LFaV0SDMFsBsDTvTEp2VngY+CEjfPYqMl5LcFiZ6M57v48OrvqmUqYAnNfkF7uz qZTs9ysZM1NbCT9QEwmrlX1iqjCYw500J+KcUl0ExWssXNw3EZpmMeM0tfGgZYSszJpZ gzH9TXVmLmrtldVjpJgC1kt2MeS9DnlrjNNweCPRQzGAOpDkuCWl1oHBr3vyhbCKwQCr 4MuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V6svnmOL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k10-20020a170902694a00b001d0be32b0c2si9265353plt.48.2023.12.13.00.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 00:15:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V6svnmOL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9B992807C656; Wed, 13 Dec 2023 00:15:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232556AbjLMIO7 (ORCPT + 99 others); Wed, 13 Dec 2023 03:14:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbjLMIO5 (ORCPT ); Wed, 13 Dec 2023 03:14:57 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B80BFE for ; Wed, 13 Dec 2023 00:15:02 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3363653e180so973574f8f.0 for ; Wed, 13 Dec 2023 00:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702455301; x=1703060101; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Qg3/WicGNss8PVwXMd3IQ5VkA5POBdOm00ZLLplNk0c=; b=V6svnmOL88xQzTZfH519kujJKQ/gTVu8lmwnjaJR2LnQ3uTyeUn0aiboWiBWvbZPHx 6vdkmLZsWIkN/eZgKj1Du23S/jf25C08D3DkdENAUphWIKvWdsmUxQ1jIbzaYW5YkYo8 VeztNJuR0CYhRawGkoPRL8Gqi4K5tfdyafwxHkGr8vTXcTESLPGjTGNDu31ECCxXWKnW cr1vu3IWanxmIfpu8618HVilEzmDqKxSEMyAAvyNTotClKP+Ko0FdRUWR57OvvvD7w4M WtQ5js74bwbVxwZhBirWT62wMnOFRnoFbu4LYqUbRCPItzMD3KMAGcxgC822Hfl8Ke5d btcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702455301; x=1703060101; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qg3/WicGNss8PVwXMd3IQ5VkA5POBdOm00ZLLplNk0c=; b=lD5ZZ7fA/W/blbL0AmfGJblaMAQ83YqS1dvJoNT9xsiqIch4oM3DJCz9H0PRI2SMqI SWL2N5eB53viSndLZ7fDyf42uEvrj1w0Ild4FE93Hv2SYTkpgmFytM4KljC77zdsiRCq adYTk4/72xxKgzjr0sdqHKA/lkIjIoJMWcBpZAx/7nuZehqhXIZzOnIb1enuG3psVkgl 77Uaap6uHrVY/n3nclKUFnO+racw9fNs3VFHmpr8FMgjo9d54t3JTIQBv9tKNV06ECE0 hRz19AWs76aGT2XtULnQde/h7SZ6GHP83CiVMAyWwXjwz8rchNx8OA5IhXeJPh+HHeqs kF5w== X-Gm-Message-State: AOJu0YynCJ+DFpQRY0LfVVqhlj6HrBDSzhbq9rRkClbqixpU2+HJcp6b 7ceC8wqKa1qttwOya5hgmmkn/A== X-Received: by 2002:a05:600c:3589:b0:40c:35b3:b7a5 with SMTP id p9-20020a05600c358900b0040c35b3b7a5mr3710867wmq.11.1702455301066; Wed, 13 Dec 2023 00:15:01 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id l12-20020a05600c4f0c00b0040b4b2a15ebsm19441678wmq.28.2023.12.13.00.14.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 00:15:00 -0800 (PST) Message-ID: Date: Wed, 13 Dec 2023 09:14:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/2] pinctrl: samsung: add exynosautov920 pinctrl Content-Language: en-US To: Jaewon Kim , Alim Akhtar , Rob Herring , Conor Dooley , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Thierry Reding , Uwe Kleine-K?nig , Greg Kroah-Hartman , Jiri Slaby Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org References: <20231211114145.106255-1-jaewon02.kim@samsung.com> <20231211114145.106255-3-jaewon02.kim@samsung.com> <68a36910-e528-45ff-8b59-e7cd95aaef0b@linaro.org> <2b72464e-d60a-6adc-0ef7-ed92ff495859@samsung.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5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To: <2b72464e-d60a-6adc-0ef7-ed92ff495859@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 00:15:16 -0800 (PST) On 13/12/2023 09:10, Jaewon Kim wrote: > > On 23. 12. 13. 16:52, Krzysztof Kozlowski wrote: >> On 11/12/2023 12:41, Jaewon Kim wrote: >>> Add pinctrl data for ExynosAutov920 SoC. >>> It has a newly applied pinctrl register layer for ExynosAuto series. >>> >>> Pinctrl data for ExynosAutoV920 SoC. >>> - GPA0,GPA1 (10): External wake up interrupt >>> - GPQ0 (2): SPMI (PMIC I/F) >>> - GPB0,GPB1,GPB2,GPB3,GPB4,GPB5,GPB6 (47): I2S Audio >>> - GPH0,GPH1,GPH2,GPH3,GPH4,GPH5,GPH6,GPH8 (49): PCIE, UFS, Ethernet >>> - GPG0,GPG1,GPG2,GPG3,GPG4,GPG5 (29): General purpose >>> - GPP0,GPP1,GPP2,GPP3,GPP4,GPP5,GPP6,GPP7,GPP8,GPP9,GPP10 (77): USI >>> >>> Signed-off-by: Jaewon Kim >>> --- >>> .../pinctrl/samsung/pinctrl-exynos-arm64.c | 140 ++++++++++++++++++ >>> drivers/pinctrl/samsung/pinctrl-exynos.c | 23 ++- >>> drivers/pinctrl/samsung/pinctrl-exynos.h | 25 ++++ >>> drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + >>> drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + >>> 5 files changed, 190 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c >>> index cb965cf93705..a998c296dd05 100644 >>> --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c >>> +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c >>> @@ -796,3 +796,143 @@ const struct samsung_pinctrl_of_match_data fsd_of_data __initconst = { >>> .ctrl = fsd_pin_ctrl, >>> .num_ctrl = ARRAY_SIZE(fsd_pin_ctrl), >>> }; >>> + >>> +/* pin banks of exynosautov920 pin-controller 0 (ALIVE) */ >>> +static const struct samsung_pin_bank_data exynosautov920_pin_banks0[] = { >>> + EXYNOSV920_PIN_BANK_EINTW(8, 0x0000, "gpa0", 0x18, 0x24, 0x28), >>> + EXYNOSV920_PIN_BANK_EINTW(2, 0x1000, "gpa1", 0x18, 0x20, 0x24), >>> + EXYNOS850_PIN_BANK_EINTN(2, 0x2000, "gpq0"), >>> +};e >> Applied with re-ordering it, to keep it after ExynosAutov9. For the >> future: don't add entries to the end of lists because it causes exactly >> this issue we have here: unnecessary conflicts. Please keep this rule >> for entire development, not only pinctrl. >> >> If both you and Peter were observing this basic rule, I would not have >> work of reshuffling and fixing conflicts. >> >> Please check the result if I reshuffled/solved conflicts correctly. >> > > I thought the new SoC should go to the end, but I was wrong. > Peter's Google's structures went to the end, which was actually alphabetical. You also added to the end thus git could not apply the patch. Even cherry-pick had troubles, so I need to manually copy code from downloaded patch. That's the main reason of not putting stuff to the end, but to some logical place, usually alphabetical. Best regards, Krzysztof