Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3205080rdb; Thu, 16 Nov 2023 03:22:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1hbKUjHsJVP02U0yTpqekHOwGpdxOhrBSsKU+m177L4LwOZ4zcCEm1NVroSFoPODxoows X-Received: by 2002:a17:902:d2c6:b0:1cc:5e1b:98b5 with SMTP id n6-20020a170902d2c600b001cc5e1b98b5mr9928910plc.66.1700133730809; Thu, 16 Nov 2023 03:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700133730; cv=none; d=google.com; s=arc-20160816; b=YBLWAGcQmXoOu28l5njXE+MlAOXMzTu6y57cU9X7LDcySLrWd2ysVNrPgfG0U1Gl85 64/ucvvUKBzHx8OQBIATDvnZNNl1sUsgcnJ6bAVqmUootnhCH+r/exRl82a03JvxzM1T lAR3RZrqx96V1G9E7IdwzZ3+JbuWP30nNxlcvSl4zQhA/vaeBSZO08zWmI5zNrHqxfy9 Yak71/6/cs/58nGvdWPEaLCr66Z4zE5+gt/KNHiFg7TkWkUW0aYv1uR71AXNOiPKe0uf +GWtHYoxCsuTT0miros6X4ecmyaJPkWrzNjAnqVIomKGnQ7nNxOWxvgu+3gZc3Zff4XS cIGQ== 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=ZXK5ljOmLC8q/n/ipRKG6UVSniFiXFzXWXMyxjThqVI=; fh=Wxwmrf3fZO02awwyGjo2YRb0AkeJPpkc7Bccl97THA4=; b=YCGTGCxc6LDs5HFTMSJf9lMe66hAxk650thmL7sFBMqzJcdpXOxXfJli7INXeZI5S4 7mgovmBLRCyEEKPXq49XC8KKU04qiBjkIj4ARIb9rJthSB5Mdaj1kB3R1gVOrx2gAF62 d2xv/4ik4/AfmabWHcgHD0oZID7k8PNXoWwGwCM00RQidngP66MTgDDVoV3VGzq7vBDM AwdeIUGSlqjifmJ1CqawLFyW+He1K8Hzx5b8lBiagSLjqwpS9stiVzvI7fdEB5H6cZjt x6i9Uhjxo2HqWdH+W5bcdp01sqOhSz7vVjopkIeYljARYLQAB+d/h6AJBQrcA91itcKi NOig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/AcvQJi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e11-20020a170902744b00b001cc2ebd2c3dsi11637478plt.161.2023.11.16.03.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 03:22:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/AcvQJi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 9FDFE80D6A0C; Thu, 16 Nov 2023 03:22:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345003AbjKPLVr (ORCPT + 99 others); Thu, 16 Nov 2023 06:21:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjKPLVk (ORCPT ); Thu, 16 Nov 2023 06:21:40 -0500 Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F7F187 for ; Thu, 16 Nov 2023 03:21:36 -0800 (PST) Received: by mail-ua1-x932.google.com with SMTP id a1e0cc1a2514c-7b9ba0c07f9so249834241.3 for ; Thu, 16 Nov 2023 03:21:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700133695; x=1700738495; 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=ZXK5ljOmLC8q/n/ipRKG6UVSniFiXFzXWXMyxjThqVI=; b=F/AcvQJifR1jQGpSCsjNwD5QZy8mU+VREtwilmfgz9WNIZaR/ng3kUne2RIAD401+m 1j7CftIYesdWGPeLsczuGhVoQkFkqJ6mGN1xV18as+GCvOVR025IY9QQcl9nUVFgt7V6 rAcISyGBdQ7Pxrz0S5WSzOJYAxbAkVFVU2009uAf//CyTqNrU00KRvA8dffLhGgiZJFS WYW5Lr18hHuYP6fMVdV9vohQEZvbTgwJKgIKtSttgoyoD0SfxwZ4tC4rSSWMA5pMnZNB hEGmUPJ0ltwcDOWbuzSZZV+c9pIqWecBXXd1UDPSR9hj3JTTbw3oj+H8dkEiYV2SPBc2 uKPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700133695; x=1700738495; 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=ZXK5ljOmLC8q/n/ipRKG6UVSniFiXFzXWXMyxjThqVI=; b=nIEPBFlV6Z1KIE39SUsJPDnzsRezxKOTN6tUlw70pXjrxpPdQLOIclMml2WA0jPg5h /D+rXkRFC8ikyFDZBdGDqkz18S2Cc2Qxh/HW+VjydrGZqpFSWFVymigJUDGCqLwGwEK0 oVhTW+gI7M4+BOKI1gTibFulkj4endZ4Komm6YWnVhS7blYHOawgEftABw5h5odnQvg3 5DHDXPATyunXHSKOskM00WQC53yATnB3KnjUWcbp3PTBuvcyIyAMdwkmodEG6NHrwXzn Efs2S0/BI9dA3xvYsAhKU9bkvxdFxyJ7/ePqNkwEz9hhcgvYG39eveI0HxM8vG5AUScZ uhCQ== X-Gm-Message-State: AOJu0YzJcVw7sRQbomu7jEXD7FSOLVUYgYLLTS5mB1S9Bvf4FESocpnX ZOllUFCIyT42j4nA7l8YxlSbfg== X-Received: by 2002:a05:6102:4702:b0:45c:d357:290d with SMTP id ei2-20020a056102470200b0045cd357290dmr9426103vsb.14.1700133695039; Thu, 16 Nov 2023 03:21:35 -0800 (PST) Received: from [192.168.212.13] ([12.191.197.195]) by smtp.gmail.com with ESMTPSA id a17-20020a0cc591000000b0065b21f1b687sm1287878qvj.80.2023.11.16.03.21.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 03:21:34 -0800 (PST) Message-ID: <6a5610e0-e60d-4ab7-8708-6f77a38527b7@linaro.org> Date: Thu, 16 Nov 2023 12:21:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/12] 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: <20231115095609.39883-1-jaewon02.kim@samsung.com> <20231115095609.39883-11-jaewon02.kim@samsung.com> <62b7176d-f99c-49f6-a287-17a6b3604c1c@linaro.org> 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 HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuD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Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 03:22:07 -0800 (PST) On 16/11/2023 06:39, Jaewon Kim wrote: > On 23. 11. 15. 21:28, Krzysztof Kozlowski wrote: > >> On 15/11/2023 10:56, Jaewon Kim wrote: >>> ExynosAutov920 GPIO has a different register structure. >>> In the existing Exynos series, EINT control register enumerated after >>> a specific offset (e.g EXYNOS_GPIO_ECON_OFFSET). >>> However, in ExynosAutov920 SoC, the register that controls EINT belongs >>> to each GPIO group, and each GPIO group has 0x1000 align. >>> >>> This is a structure to protect the GPIO group with S2MPU in VM environment, >>> and will only be applied in ExynosAuto series SoCs. >>> >>> Example) >>> ------------------------------------------------- >>> | original | ExynosAutov920 | >>> |-----------------------------------------------| >>> | 0x0 GPIO_CON | 0x0 GPIO_CON | >>> | 0x4 GPIO_DAT | 0x4 GPIO_DAT | >>> | 0x8 GPIO_PUD | 0x8 GPIO_PUD | >>> | 0xc GPIO_DRV | 0xc GPIO_DRV | >>> | 0x700 EINT_CON | 0x18 EINT_CON | >>> | 0x800 EINT_FLTCON | 0x1c EINT_FLTCON0 | >>> | 0x900 EINT_MASK | 0x20 EINT_FLTCON1 | >>> | 0xa00 EINT_PEND | 0x24 EINT_MASK | >>> | | 0x28 EINT_PEND | >>> ------------------------------------------------- >>> >>> 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 | 102 ++++++++++++- >>> drivers/pinctrl/samsung/pinctrl-exynos.h | 27 ++++ >>> drivers/pinctrl/samsung/pinctrl-samsung.c | 5 + >>> drivers/pinctrl/samsung/pinctrl-samsung.h | 13 ++ >>> 5 files changed, 280 insertions(+), 7 deletions(-) >>> >>> diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c >>> index cb965cf93705..cf86722a70a3 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 struct samsung_pin_bank_data exynosautov920_pin_banks0[] = { >> So you created patch from some downstream code? No, please work on >> upstream. Take upstream code and customize it to your needs. That way >> you won't introduce same mistakes fixes years ago. >> >> Missing const. > > Thanks for the guide. > > I didn`t work on downstream source, but when I copy/paste > > the struct enumerations from downstream, it seemed like That's what I am talking about. Don't do like this. We fixed several things in Linux kernel, so copying unfixed code is wasting of everyone's time. Don't work on downstream. Don't copy anything from downstream. You *MUST CUSTOMIZE* upstream file, not downstream. > > 'const' was missing. > >> >> ... >> >>> @@ -31,6 +31,7 @@ >>> #define EXYNOS7_WKUP_EMASK_OFFSET 0x900 >>> #define EXYNOS7_WKUP_EPEND_OFFSET 0xA00 >>> #define EXYNOS_SVC_OFFSET 0xB08 >>> +#define EXYNOSAUTOV920_SVC_OFFSET 0xF008 >>> >> ... >> >>> #ifdef CONFIG_PINCTRL_S3C64XX >>> { .compatible = "samsung,s3c64xx-pinctrl", >>> diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h >>> index 9b3db50adef3..cbb78178651b 100644 >>> --- a/drivers/pinctrl/samsung/pinctrl-samsung.h >>> +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h >>> @@ -122,6 +122,9 @@ struct samsung_pin_bank_type { >>> * @eint_type: type of the external interrupt supported by the bank. >>> * @eint_mask: bit mask of pins which support EINT function. >>> * @eint_offset: SoC-specific EINT register or interrupt offset of bank. >>> + * @mask_offset: SoC-specific EINT mask register offset of bank. >>> + * @pend_offset: SoC-specific EINT pend register offset of bank. >>> + * @combine: EINT register is adjacent to the GPIO control register. >> I don't understand it. Adjacent? Are you sure? GPIO control register has >> 0xF004 (EXYNOSAUTOV920_SVC_OFFSET + 0x4)? Anyway, this does not scale. >> What if next revision comes with not-adjacent. There will be >> "combine_plus"? Also name confuses me - combine means together. >> >> Also your first map of registers does not have it adjacent... > > I think I should have added a little more information about new struct. > > ------------------------------------------------- > | original | ExynosAutov920 | > |-----------------------------------------------| > | 0x0 GPA_CON | 0x0 GPA_CON | > | 0x4 GPA_DAT | 0x4 GPA_DAT | > | 0x8 GPA_PUD | 0x8 GPA_PUD | > | 0xc GPA_DRV | 0xc GPA_DRV | > |----------------------| 0x18 EINT_GPA_CON | > | 0x20 GPB_CON | 0x1c EINT_GPA_FLTCON0| > | 0x4 GPB_DAT | 0x20 EINT_GPA_FLTCON1| > | 0x28 GPB_PUD | 0x24 EINT_GPA_MASK | > | 0x2c GPB_DRV | 0x28 EINT_GPA_PEND | > |----------------------|------------------------| > | 0x700 EINT_GPA_CON | 0x1000 GPA_CON | > | 0x704 EINT_GPB_CON | 0x1004 GPA_DAT | > |----------------------| 0x1008 GPA_PUD | > | 0x800 EINT_GPA_FLTCON| 0x100c GPA_DRV | > | 0x804 EINT_GPB_FLTCON| 0x1018 EINT_GPA_CON | > |----------------------| 0x101c EINT_GPA_FLTCON0| > | 0x900 EINT_GPA_MASK | 0x1020 EINT_GPA_FLTCON1| > | 0x904 EINT_GPB_MASK | 0x1024 EINT_GPA_MASK | > |----------------------| 0x1028 EINT_GPA_PEND | > | 0xa00 EINT_GPA_PEND |------------------------| > | 0xa04 EINT_GPB_PEND | | > ------------------------------------------------| > | 0xb08 SVC | 0xf008 SVC | > ------------------------------------------------- > > The reason why I chose variable name 'combine' is that EINT registers was > separated from gpio control address. However, in exynosautov920 EINT > registers combined with GPx group. So I chose "combine" word. What does it mean "the GPx group"? Combined means the same place, the same register. I could imagine offset is 0x4, what I wrote last time. Is the offset 0x4? > Is another reasonable word, I will change it. Why you cannot store the offset? > > EINT registers related to the entire group(e.g SVC) were at the end of > the GPIO block and are now moved to 0xf000. So not in the same register, not combined? Best regards, Krzysztof