Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1031541rdb; Fri, 17 Nov 2023 23:47:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9Z4ePgIoVWS/JBF8dzcykie2z/nyjEPvVn7QPDEeEO7uo4Nqmnw4/Ot+W+W1ZOrpXF3RN X-Received: by 2002:a05:6358:e49b:b0:16b:f6be:224d with SMTP id by27-20020a056358e49b00b0016bf6be224dmr2036806rwb.5.1700293624269; Fri, 17 Nov 2023 23:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700293624; cv=none; d=google.com; s=arc-20160816; b=LF7Mfj6gNmxHB5wqKPITNtgF5KuWQr96eN7U4mUezAVJ7hNwjzC7Iy/JZ/ZY0lscCX esk4tFJJMKLRwAC4eAG2KPo3YqDYECfj07oBN50n0fR7fUzGHtIax2N6Zk00ZWVUo0+S AfP3f65LJ3Yd3n9ct5DBpSrSuwzHXKVihtV9lQrOqV9F2boOYpR29vzFV3Eua+ie7h4i SVc3q4FXDkotvylKUpwQ4xAAhf5ah3YvY5NQhDdfO9OEJA5pzURDn69gIkfnDny9Loh/ ymH5yyXbdQrIOBgaXxbw0E1NseJTZRVrib9N8E9nbC4HkuXWzCHO9m50cBoC1rMx0gUE SJUQ== 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=vxlFjRpQHG/9qO2SmYUUMv1L/YanqCR+lSiJehcyrD4=; fh=MQ6QUGor8rhinJkNzB1ahLsU/AZNw2yjDo/Vze/atBo=; b=bUDHAe//6BHRMfWyX6WWzGFjmSSzsGypDacXpw7i6plsbroZf7ig9czCbyWeoflfaH 0zvCRmmHoROyGtODX2ojcxCJU2YA6vVokeBLH1QIBaCK1LFELl0EjF1uAq5jb48w6vy8 4cs97aSYcEdhOq/aF2UeuuNoZvL7BO/9yGHUNH0xpPvUwq1Zlg6KsAp8FSFlPGkQAHPE Aoscq6U+y3xbieeZqXrJvNk8vGr/yo7wNuVXnSM84tDo/bePW6pjMpjJcpcVVIw71cUV yhLU6AEn6B2zdmnyR8uHdubCrRmT+AXKtA63xI7eucesumuwoQms8ZjQb8pwymgKbIvv eZMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=vhGEcGX6; 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=samsung.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u15-20020a65670f000000b005a1d8816535si3761922pgf.5.2023.11.17.23.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 23:47:04 -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=@samsung.com header.s=mail20170921 header.b=vhGEcGX6; 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=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D84998046440; Fri, 17 Nov 2023 23:46:38 -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 S231590AbjKRHqY (ORCPT + 99 others); Sat, 18 Nov 2023 02:46:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjKRHqX (ORCPT ); Sat, 18 Nov 2023 02:46:23 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C38E8D5B for ; Fri, 17 Nov 2023 23:46:18 -0800 (PST) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20231118074615epoutp0413efb68728ebe402c040a01d3e89feb0~Yp-_mLm7E2316923169epoutp04T for ; Sat, 18 Nov 2023 07:46:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20231118074615epoutp0413efb68728ebe402c040a01d3e89feb0~Yp-_mLm7E2316923169epoutp04T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1700293575; bh=vxlFjRpQHG/9qO2SmYUUMv1L/YanqCR+lSiJehcyrD4=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=vhGEcGX6mcyzUnuY+s3bpRiVQ3+jHYQ0QNCIeNuXd77t2huVm+sHnFXZCVFejDYtT P4j9PjmbE40H4v9C05W4bivsVciGIKu6kOv55gixk28uhQhSKyxNQJRc3o3HO+CquL 8FZrCVIQKcfrGEvRcre8+ImayGmPDVpimta5/nlc= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20231118074614epcas2p151f840ee664d3130848da3fd7faf9105~Yp-9f4f6g3120531205epcas2p1L; Sat, 18 Nov 2023 07:46:14 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.91]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4SXQnL22K3z4x9Pr; Sat, 18 Nov 2023 07:46:14 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id D8.09.09622.6CB68556; Sat, 18 Nov 2023 16:46:14 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20231118074613epcas2p422f7c882546ce89461420d92a70f5ee3~Yp-8qrZNr1418714187epcas2p4R; Sat, 18 Nov 2023 07:46:13 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231118074613epsmtrp282137b87c7e7ca89811fd3644159abc4~Yp-8pDwxC2675426754epsmtrp2J; Sat, 18 Nov 2023 07:46:13 +0000 (GMT) X-AuditID: b6c32a46-fcdfd70000002596-c8-65586bc6b895 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id BF.C8.07368.5CB68556; Sat, 18 Nov 2023 16:46:13 +0900 (KST) Received: from [10.229.8.168] (unknown [10.229.8.168]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231118074613epsmtip2454513e84a2a41152fd3a056707b3d5d~Yp-8PetGS1672716727epsmtip2N; Sat, 18 Nov 2023 07:46:13 +0000 (GMT) Message-ID: Date: Sat, 18 Nov 2023 16:43:26 +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 v2 10/12] pinctrl: samsung: add exynosautov920 pinctrl 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-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clNgdJdMQli2j7tllfOP5slxmC4+mvp 5JTALTcmfGM2Oa6+c9LjQ7ETWmf5x7sZHUhve2TduL/o49K55+8etotP+um+oPyJmYqXc6eq HqOO377zLxczcgRKsEgvkTycGGlj1j+F9Z071w3uiKr92mZsZe8vvrmu+7Kg9Y8Od9eSkumH SssWNn6vzYkxb7A0at3mmqlgXXdZXT6T7eCUCY2sJWfqDySeWGQdLZ2pFp+3y4e16mBQxq+z lVvXVlfpfs/2VWzezhqmvSV0vo3+lq8f2gX2GTZay7wS5w75Xvjz2oSzvSYFbEWrxcwseR94 fIiS75vifMaGMf3dLTZZzlnTd/+uPqrEUpyRaKjFXFScCAB1RboDUAMAAA== X-CMS-MailID: 20231118074613epcas2p422f7c882546ce89461420d92a70f5ee3 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: 20231115095856epcas2p1c3ee85750828bec2ee4ab0adeaeaff28 References: <20231115095609.39883-1-jaewon02.kim@samsung.com> <20231115095609.39883-11-jaewon02.kim@samsung.com> <62b7176d-f99c-49f6-a287-17a6b3604c1c@linaro.org> <6a5610e0-e60d-4ab7-8708-6f77a38527b7@linaro.org> <926ea5c5-20ac-5e63-16ea-6f0c20e2db0a@samsung.com> <0fdb7bec-9ea4-454f-a0fb-d450f27ebc6b@linaro.org> X-Spam-Status: No, score=-4.1 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 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]); Fri, 17 Nov 2023 23:46:39 -0800 (PST) On 23. 11. 17. 19:48, Krzysztof Kozlowski wrote: > On 17/11/2023 08:36, Jaewon Kim wrote: >>>> 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? If you are asking about the offset of GPIO control register and EINT control register, 0x4 is correct. There is no empty space between the two register. 0x0 CON 0x4 DAT 0x8 PUD 0xc DRV 0x10 CONPDN 0x14 PUDPDN 0x18 EINT_CON 0x1c EINT_FLTCON 0x20 or 0x24 EINT_MASK (The size of FLTCON register depending on the number of gpio) 0x24 or 0x28 EINT_PEND >>> >>> >>>> 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? >>> >> Okay, >> >> Instead of the word combine, I will think of a better word in next version. > I want to know answer to: > > "Why you cannot store the offset?" > I did not understand exactly what you said, but if i guess,, you want to get rid of the offs because the value of the offs is always the same? #define EXYNOSV920_PIN_BANK_EINTG(pins, reg, id, offs, mask_offs, pend_offs) Thanks Jaewon Kim