Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3720558rdb; Sun, 10 Dec 2023 18:47:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IETYJx9hdJMaE2T3HnFPlbTdvtss892OMPHNVoB4IOwNHzlhbp38lPFz1jZN0N5D7vJshpb X-Received: by 2002:a05:6808:3207:b0:3b2:eab1:918 with SMTP id cb7-20020a056808320700b003b2eab10918mr3848279oib.29.1702262849884; Sun, 10 Dec 2023 18:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702262849; cv=none; d=google.com; s=arc-20160816; b=EKJnw/JWgkbyaJoUdje6ewjjDo60ZcpP/243NlvHpMHM36kk7Yk1kug7XYaWSbdOaI IXvtisf+u74Iepe3+Sr+1o06Zr/QPPYQBb6PlFigwwQGueoTUGj9eteunVQfIjHEflj0 DChpMMhgThmDrBTxMBDBtJ+8UU722ylhv2yejlZJWOZxeSt3TJbGBSGyGWVVABnj/klA x/nObbOTorGcH60xB8C2GSFY4rkHNfppeKAd3BciPDLOXRl+vgmNaiL3jrzYaQpSZlh/ 2NNUqEEy5kW5V+3HPq8mlTkD3jBw3h2Iu+BVTJ6X8F1hWD8HWTry9IzHhXpL2QhAjaBq KE3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:in-reply-to:from:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-filter; bh=3y7Tkpr4YBYZLXEAHtJR6ivwaNX07D4tzVv45KH1p8M=; fh=MQ6QUGor8rhinJkNzB1ahLsU/AZNw2yjDo/Vze/atBo=; b=dE4g1l3KD5z24VOngvwcmAl8NvFpGtMJ4aG9Fz8Jdgi07PoETg2q9KiiNcFHY0PLhm fxYizbrSbWLnojzm8rsIC8AiutmL73HxXVG6DQCpyEondQijGK/loqkbSziSCc37x8Bk 4ErZ6BhFm2ty6w6+6uDo/2r9DrVyforjnRBLhj2ha/QMj9mZcaXfwCspcVtDWYPQ1wuw 3/noUaC7Ee2w/OqBksz0Gz+hLZX5v7d6JvS7qNsDrGCnYsiL9uNVja1XuK2EZMbKIBRa OYR7PzsXoUrDI7mWgloeVewah9tBv1SbDfcZJ5s1FNYCGz9Guk4Ius2VBTChTgRcH31i hXpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FLK9Uc2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s16-20020a656910000000b005c6e820b5e6si5065846pgq.771.2023.12.10.18.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 18:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FLK9Uc2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 36D4B807649E; Sun, 10 Dec 2023 18:47:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjLKCrL (ORCPT + 99 others); Sun, 10 Dec 2023 21:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjLKCrJ (ORCPT ); Sun, 10 Dec 2023 21:47:09 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BED1E8 for ; Sun, 10 Dec 2023 18:47:15 -0800 (PST) Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20231211024713epoutp02f06b4c2e1345e9b53ee5084e68a2c128~fpwc3AGuS0545705457epoutp02h for ; Mon, 11 Dec 2023 02:47:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20231211024713epoutp02f06b4c2e1345e9b53ee5084e68a2c128~fpwc3AGuS0545705457epoutp02h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1702262833; bh=3y7Tkpr4YBYZLXEAHtJR6ivwaNX07D4tzVv45KH1p8M=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=FLK9Uc2yMITyRgqjWk32ygjqYmkF9lLquFM3KCF/oy5js1Ynv4lEYlZrCRsDWv61p kFvmai36h7HAXfc3jDTYc5lVK2Ef68TN7Fhdf8E5rstAR19mRcU8gnkZEBB9IBuI87 OVxoDmdiMUce1tGezE1ccplGahnyTJCq7MkUmRLg= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20231211024713epcas2p1e262d16d031987878bcda9c999301dd5~fpwcWgP460763107631epcas2p1k; Mon, 11 Dec 2023 02:47:13 +0000 (GMT) Received: from epsmgec2p1-new.samsung.com (unknown [182.195.36.98]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4SpR3h53qKz4x9Pw; Mon, 11 Dec 2023 02:47:12 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmgec2p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id CE.DB.18994.03876756; Mon, 11 Dec 2023 11:47:12 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20231211024712epcas2p17c42285dfcf1c39e52a7b7684785617b~fpwbeBcUW0032200322epcas2p1W; Mon, 11 Dec 2023 02:47:12 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231211024712epsmtrp15d78825173bfe8a5f8fde151ff7568c1~fpwbcNTAq2543325433epsmtrp1Z; Mon, 11 Dec 2023 02:47:12 +0000 (GMT) X-AuditID: b6c32a4d-00bd8a8000004a32-05-657678306bad Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D6.2C.08755.F2876756; Mon, 11 Dec 2023 11:47:11 +0900 (KST) Received: from [10.229.8.168] (unknown [10.229.8.168]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231211024711epsmtip18edf201b95a1a81b1b7174a74289a5bf~fpwbIVOuU1480814808epsmtip1K; Mon, 11 Dec 2023 02:47:11 +0000 (GMT) Message-ID: <04a874f4-df4b-2a9d-ea02-bbb63095d199@samsung.com> Date: Mon, 11 Dec 2023 11:44:21 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 3/4] pinctrl: samsung: support ExynosAuto GPIO structure Content-Language: en-US To: Krzysztof Kozlowski , 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 From: Jaewon Kim In-Reply-To: <9d496fb5-25b4-4f1a-9652-4c54cf2d59a1@linaro.org> Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Tf0wTZxjO1zvagw29VQjfuoaxI8MgA3uMwrEAY9GMbg6ELC6ZS4YXeitI abteYSLLRCYdEKsyNErTAhuGbR2WURAmoSX8cPyIloQZGlRog5CgBRbqFBdB19K68d+T93me 933e7weG8O9yBViRQsOoFbSc4IagPcOx4njRsTJGdH0xhnI19XCpdqudQzWP2IOob1s7uNSq UUhZ3Vd51PmNnziU5d50ENXVvAGoP/sMXGp21gSoS5M2DnWjVcejqq0jPGp4+bsg6p++JpQy 9Xl1d+obQCZfck0/y5NYTLVcyd3pfq5kwNjOk3RdPiE5uymSnOk2AclDS2Qudrg4rZChpYw6 ilEUKKVFClk6ceDj/H354mQRGU+mUilElIIuYdKJ/R/lxr9fJPduQkSV0fJSbymXZllib0aa WlmqYaIKlawmnWBUUrkqRZXA0iVsqUKWoGA075AiUaLYKzxSXNhvvoaoDDuP1fQscipB70t1 IBiDeBK02efROhCC8fF+AAetM0E+go97ALxuTPMTjwEc0P3KfeEwV3fy/IQVQOfoasDuBvCW qY/jU4XiGbD9yhTiwyj+Jjz90Ij466/A8cYF1IfD8c9gdZvT2xXDduF5sGUizldG8Ah4e6F5 q00Y7kSgW1vh64/gLgCN9kfAR3DxOLje0boVNdg7a+B5I9dvfh32rhgQnwHif2NQ93N7IPZ+ 6PKsAz/eBR+MdvP8WADvn9UGsBJqb90I4K9hZ8tUQP8u1D/tDvIFRfBY2NG31wchHg1HbqP+ sTtgzfAmz18OhTVavt8YA50X7IEAQvj9yC8cv0QCx9qoc+AN/bYz0W9bXr9tF/3/Y1sAagIC RsWWyJiCRBUZr2C++u+6C5QlFrD1zPdk/w7cHZsJQ4CDgSEAMYQICxWOsAw/VEqXH2fUynx1 qZxhh4DYezv1iCC8QOn9JwpNPpmUKkpKTiZTEsWiFCIidK7aKOXjMlrDFDO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FoEk2Xi4JRqYBJ6yeGixmWS03ljFb9f0txa9+PzS6+U/np9 sl9a7/+ayeuftx9tLxH5d1ngDYMZ559t39tlTot+Nv18OeUHq2H1w5tCxpx3/u071M5zR319 UeEkE9b+LLOdy09xRN68fsfhz30rq8eqMywkotbvY/IuMFu6f6PqfPvQCP+HhwrCrxr2Knxo 7Tms2Kxze/u7vifvoza2Sc6wiF+X/e5w+5y+tKjQ6i/xd5Zsm8dbsLPY54q7wcU79/0rCr81 sEmsObd4xVE/0a2b4jdbbXjTfWHCrMc5TBN3L9J2j9/Rd4zbj08j2CPU7BLLnXVNS5ptn2VZ x6W+6Wt40Haxwab0m6/wp/Rlxm3qBU0e89m3LFJiKc5INNRiLipOBAAn9bt9TwMAAA== X-CMS-MailID: 20231211024712epcas2p17c42285dfcf1c39e52a7b7684785617b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231208075020epcas2p260c65fa8d33e0cd97806f065bb8a044d References: <20231208074527.50840-1-jaewon02.kim@samsung.com> <20231208074527.50840-4-jaewon02.kim@samsung.com> <9d496fb5-25b4-4f1a-9652-4c54cf2d59a1@linaro.org> X-Spam-Status: No, score=-3.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 10 Dec 2023 18:47:27 -0800 (PST) On 23. 12. 10. 22:23, Krzysztof Kozlowski wrote: > On 08/12/2023 08:45, Jaewon Kim wrote: >> New ExynosAuto series GPIO have a different register structure. >> In the existing Exynos series, EINT control register enumerated after > Missing verb... or enumerated is past tense? I just don't get entire > sentence. Sorry, I will add 'is' like below. In the existing Exynos series, the EINT control register is enumerated after a specific offset. > >> a specific offset (e.g EXYNOS_GPIO_ECON_OFFSET, EXYNOS_GPIO_EMASK_OFFSET). >> However, from ExynosAutov920 SoC, the register that controls EINT belongs >> to each GPIO bank, and each GPIO bank has 0x1000 align. >> >> This is a structure to protect the GPIO bank using S2MPU in VM environment, >> and will only be applied in ExynosAuto series SoCs. >> >> ------------------------------------------------- >> | 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 | >> | 0x10 GPIO_CONPDN | 0x10 GPIO_CONPDN | >> | 0x14 GPIO_PUDPDN | 0x14 GPIO_PUDPDN | >> | 0x700 EINT_CON | 0x18 EINT_CON | > This suggests there is EINT_CON per bank in old and new register layout. > I don't think it's true, so probably this could look like: > > | --- | 0x18 EINT_CON (per_bank) | > | --- | 0x18 EINT_FLTCON0 (per_bank) | > | --- | 0x18 EINT_FLTCON1 (per_bank) | > | --- | 0x18 EINT_MASK (per_bank) | > | 0x700 EINT_CON (global) | 0x18 EINT_CON | > > etc.. > > Also, please use spaces for alignment in the table. > Thanks you for your review. I will add (global), (per_bank) for clearer expression. And, I will use space instead of tab in v4. > > Best regards, > Krzysztof > >