Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp819424rwr; Wed, 26 Apr 2023 06:50:48 -0700 (PDT) X-Google-Smtp-Source: AKy350beNIc/B232lSb9C7D0F7WaM3bypZP/lDbn/DzCOLx9mrOUFF5mhDl4Zvp+eypfdMYkl2mh X-Received: by 2002:a05:6a00:21d5:b0:63f:34d9:d725 with SMTP id t21-20020a056a0021d500b0063f34d9d725mr19799207pfj.14.1682517047847; Wed, 26 Apr 2023 06:50:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682517047; cv=pass; d=google.com; s=arc-20160816; b=YZucoBCdB5fqewgF5FBYRtyPNVnobr57RdaOwNMCH+bJF0OUf3xy/HCiOIkKJfM1V3 G0GgcwrUcqEziFSvSziubpGlqXipz53eSuzxaOJOf7QSpZvlkUkfIOhG/SBD4b7X/dAQ om2VoR7T0G8s4xwA+i62MqMljF4ufT1ssrEUukMOqdyy4zb7FZhS+7gpM88jlcIdNFZS oO/XBUvlXHeBu1hDx0UU/LXa5gMFDbz8FOPbrFsajuWoOcRyvR7ajdKWxI5dmvM90f+Q hfCufT3SLGaDi7/4UyGFR8oPVeitM99+YNxsrZTEnGXYq+TOrhKL9UeV2VA8TDyjamTT roMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=FlvrLlBWDSVtWIh5vG98WHCXO8VQ91J9Gx8TLV4ruAI=; b=YGbVp0Vwvhmf2AET03eMIQFkl1FLeCGRVMl3NaB11v14hXBzBPaxQrB+r/5O1dpWxK HKlYFWyaKgX2wweWrrUpBU7MQqjDX0WrElfJnQ0X4rQCV8q7TipxUGLxCBD1/6Ry16lj 8iSot2XaKQxEGFIjXQ2DXoaOu7ZeTtOTbqDw3WB/muod8y6ecT+q1890op/HK4iQMvu6 CD83vAOYSdbLFDSi3nZUA9X85q5gv0KQWa26BPfO/xu/zw+fdFYJ+yM2JMidgcPrpLLX ixTugpE/ZoJUey4j/ImNUgZ34ja2qFPN41x7IjymFmaGt+fKk+Oydzf9RH5ItfuyuCGX 9q3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=CXTgKEoj; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020aa78e88000000b0062d781f1f87si16009203pfr.355.2023.04.26.06.50.36; Wed, 26 Apr 2023 06:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=CXTgKEoj; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241186AbjDZNjv (ORCPT + 99 others); Wed, 26 Apr 2023 09:39:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241140AbjDZNjn (ORCPT ); Wed, 26 Apr 2023 09:39:43 -0400 Received: from mx0b-00128a01.pphosted.com (mx0b-00128a01.pphosted.com [148.163.139.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBB3072A8; Wed, 26 Apr 2023 06:39:38 -0700 (PDT) Received: from pps.filterd (m0167090.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33QDTgII016850; Wed, 26 Apr 2023 09:39:34 -0400 Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2177.outbound.protection.outlook.com [104.47.73.177]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 3q4c79853p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Apr 2023 09:39:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RZMKo8n1i/brQU4BlIowP4MV3kW8Cr+zKav+EOfbqknQx6WqTW4fFSwpk1M3sjb1MN+qcK+9XyMMtkAHmltbSo2tiNTqEC3i8pfj8Ex+g/kq2lr7W+Doit38sviB7hbzPcs31Z8xnubEu9IE2vbRt6vabrxmHUI3rXMOsZr+NTBu1X/q1pDTFwFp3OVPJU7cQToWY6MYiw8Yl1/4ZLvLn061Wjklm3R2H5lskmyT6vig8GnvTcjiXS1ytgU/qfaBLDSr4iv6IpJw7aOzbvbaSoxiVcVPQCnQfC4c0QMCFf6hqGZTMIqH18ryycjXSwdXeJjSD0+KnK6s4+7ykACJ0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FlvrLlBWDSVtWIh5vG98WHCXO8VQ91J9Gx8TLV4ruAI=; b=ULYxR0PiBVALwItxSrLza6CegnbxrTiLo9d8QOOcNTSuFslhdFAbyIwtlYziUETjIP2rTs6eOLOOUcROM4MFhjcCq26lWlWCKHzQ1gLIVGep0r/hPvazdf+3j608aQ38jk5mgEnHBKxz3Spw5v1GePyg5f9SwnmZL9WJVkyE5Mhi8vlmYTv5epxLO5ZeQCo05anf+g4alK9X4V876a9QKMSI3cM3ck3MxcIvPtGHbhjewrSwGt6IqSI2Ze6oJsRiZAGkMkxWpNZxlqHD8RyKPqnmRXuU2rTuSLPchIRp/dc62zDO3xFWlRy4x51dlyZ0L95nZwO/WpCuyyazJOkUYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analog.com; dmarc=pass action=none header.from=analog.com; dkim=pass header.d=analog.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FlvrLlBWDSVtWIh5vG98WHCXO8VQ91J9Gx8TLV4ruAI=; b=CXTgKEojdamc1YPuidrecIoOg37Re52MZp7e/RebFA+6hQ09dWU0wQ8KCUe1JC6On2zmeCZUzjdpzlikND298fpcjlg6o1aAsMu1fxICRYjI+DMgkeUggVS3u8FbfN6+9ezLo6ND+hsSDj9o1v+eySVLjuWHIaCCuwd8NKS5plY= Received: from MN2PR03MB5168.namprd03.prod.outlook.com (2603:10b6:208:1ec::19) by PH0PR03MB7065.namprd03.prod.outlook.com (2603:10b6:510:29b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34; Wed, 26 Apr 2023 13:39:29 +0000 Received: from MN2PR03MB5168.namprd03.prod.outlook.com ([fe80::8f99:7745:fa5d:3dea]) by MN2PR03MB5168.namprd03.prod.outlook.com ([fe80::8f99:7745:fa5d:3dea%4]) with mapi id 15.20.6340.021; Wed, 26 Apr 2023 13:39:29 +0000 From: "Sahin, Okan" To: Michael Walle CC: "andy.shevchenko@gmail.com" , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v1 2/2] gpio: ds4520: Add ADI DS4520 Regulator Support Thread-Topic: [PATCH v1 2/2] gpio: ds4520: Add ADI DS4520 Regulator Support Thread-Index: AQHZYKxFzu/viFi84UyZMktWpJEoz68UqJ8AgAaZoUCAAX9AgIAACimAgAMiPoCAAFCPgIACysWAgAMsY4CAFH9pMIABEksAgAHWFgCAAAyPgIAAEkIQ Date: Wed, 26 Apr 2023 13:39:29 +0000 Message-ID: References: <20230327130010.8342-1-okan.sahin@analog.com> <20230327130010.8342-3-okan.sahin@analog.com> <25e1fda4b6df2d10444d7eca3cd0e387@walle.cc> <1ff70a97dfbcaddd69029001ce99bb69@walle.cc> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcb2thbi5zYWhp?= =?us-ascii?Q?blxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4?= =?us-ascii?Q?NGJhMjllMzViXG1zZ3NcbXNnLWMyYzAwNzhiLWU0MzctMTFlZC1iZWNkLTU4?= =?us-ascii?Q?NmMyNWQzYzNlNFxhbWUtdGVzdFxjMmMwMDc4ZC1lNDM3LTExZWQtYmVjZC01?= =?us-ascii?Q?ODZjMjVkM2MzZTRib2R5LnR4dCIgc3o9IjM1MzIiIHQ9IjEzMzI2OTg5OTY3?= =?us-ascii?Q?MDE1NzQ0MyIgaD0iRk9XUUg4N1RVaGdhbnVNb0hjTm0ya3psWnBJPSIgaWQ9?= =?us-ascii?Q?IiIgYmw9IjAiIGJvPSIxIiBjaT0iY0FBQUFFU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hJQU1nQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUJBQUFBQUFBQUFBSUFBQUFBQUE9PSIvPjwv?= =?us-ascii?Q?bWV0YT4=3D?= x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR03MB5168:EE_|PH0PR03MB7065:EE_ x-ms-office365-filtering-correlation-id: 2297c6db-ed94-4aba-a1fa-08db465ba8e5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5Y7P97ElXGF+T1D76ZF63vDM22P0KQVubYJbncjbaDX3C09W4tj1x/I09bxXTxAFINMpjYty3t05lRXyGJWtDF1Vc2JSzFHMqLhxN6MjHYg+r8nkhuK49od3Y662jM/Fli9Dmsl8zv3L677/EikIicHANR9zMHOq2dwyd+2vvWyvRWGZnaYMOwCVAWxpM6kfnXyEaJsYjX39LOF6GQ2XMu3Lbo4AxNi3veAC8GQWPQs8+RSUXznNSks860nJqTL/ucbOpsosElh05V7xiTKUOUNwU8CdpxN2t8AXQCY3PYWmfR7xazp9IPa0IsD5XvSu9FIkVWWcklHhCR/Lcy4rZsklAnMNfgv2CMKPLyw145JhhimCqhRmxVfe8wVhh8CE6QhxUp1qtRW18V+YElLEw9GMRdTjeG6iKH6TDfthct9/9w4+T3iJXZHGzt0Aox0PE0iBCQcdcH5bq5ccnW3+MiXNqJUIXKiuKhhSFDipEZ7MlC4RFAGESDwtuRtRxjC3kzzYZGVCfWrvRB9CP59BXgrW0RLqDvCPv9O1j1QXH0LdtvlYLiv6oQA1l/qD99HZr0MJKFKsgQX0AsVAqoZToC/eVFXS3agmXwWz83FaQpc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR03MB5168.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(366004)(136003)(39860400002)(396003)(346002)(451199021)(54906003)(38070700005)(478600001)(86362001)(33656002)(38100700002)(122000001)(8676002)(8936002)(2906002)(66476007)(4326008)(64756008)(6916009)(55016003)(66446008)(52536014)(66556008)(76116006)(66946007)(316002)(5660300002)(186003)(26005)(41300700001)(9686003)(6506007)(966005)(7696005)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+etRsYifz+GPxCyzfPHp21xNQ7tUTIbm44lXr3drFuIRmagcj3SdPPwF79f1?= =?us-ascii?Q?m6xvt2tZhPfuXJqiSnm3FHp5N21ge8Abh3hp/NK+9P20qBCuGV35EmuLn7uM?= =?us-ascii?Q?Qhum8ptpkaLZXpHSb4gGuRYubj2Dme8Ym5mSmNHtpSiLQ96BJvNrIqNlzO59?= =?us-ascii?Q?576QwEqT3NTsKoAbuin9xKU2FxffS+XmWwJMPolyKeeGSCb2sD58hnswfl3q?= =?us-ascii?Q?cF/A7Bh52uqB2z6x7mpNNvPySyEJc15nnWiwoJb7FJxKRk2wa7ZJQHTaB1iZ?= =?us-ascii?Q?6rFZCNhabFRFVQaObUy8SlZ/BjRg2qeeNqJArU/8alDEWeXv9wmGQzX+DKb7?= =?us-ascii?Q?1jMFBISR64a9sVrgnmMAodEYNz/PXEfIE4KIhq7kW47pJheTpjj3bH6SImjY?= =?us-ascii?Q?0+zAWYgrHKDb99VHMoHjq01q8+0koYhVawCcwfFuELEL5xKiTZJ+32tVPP+w?= =?us-ascii?Q?zJfrJI//xFFZkYsfeXwMYf2ZW9tQMztr9DTmo5uGpbvJ198mbkxCIvHcmNV3?= =?us-ascii?Q?ql/nBJtXHJSPipekd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Q?1WikDtEKpHV1QldwYmtVqEtGAnwBUmGptcWIajhZPKfeivTxoblzdGFeKO3W?= =?us-ascii?Q?K7L1DBsx+/l7rLmZ/lkNYHp43nGipp2+LxQ6QRKN/yK2F8wJZSF599zlyZae?= =?us-ascii?Q?qnDTTp5g0mZVTia3z6ekSHZlU4VRS1MmpS0Uh7Q5?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR03MB5168.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2297c6db-ed94-4aba-a1fa-08db465ba8e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2023 13:39:29.2262 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pjBpTLkwmpyQOdXYli2RT64q/+Czrx0o6qat6/xmej5E4uy2pogv5DwELAtKQMCzllz3PIhqtam9MdLD40stlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR03MB7065 X-Proofpoint-ORIG-GUID: bMVATiU9YSPdNEOk9FhJsrqxpa4xmQqO X-Proofpoint-GUID: bMVATiU9YSPdNEOk9FhJsrqxpa4xmQqO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-26_06,2023-04-26_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 priorityscore=1501 phishscore=0 impostorscore=0 clxscore=1015 malwarescore=0 bulkscore=0 mlxlogscore=669 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304260122 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> I think I understand what you are trying to say so far. I did not have >> too much >> experience related to gpio. I will set pull_up register in .set_config >> However, I did not understand where its parameters come from. >> set_config(struct gpio_chip *chip, unsigned int offset, >> unsigned long config) >> It might be trivial question, but Where does config come from? > >Others have to answer that one as I don't have that much experience >either. > >> At the end, I should rewrite the code using regmap_gpio, right? So if I >> rewrite >> code using regmap_gpio, how can I replace set_config(...)? > >You'd have to add a .set_config to gpio_regmap_config and then in > >gpio_regmap_register(): > gpio->set_config =3D config->set_config; > >I don't think it makes sense to have a default implementation in >gpio-regmap, >the variances between "simple" gpio controllers might be too broad. > >-michael Hi, One last question, as ds4520 IC has 9 I/O pins so I need to set registers l= ike=20 below struct gpio_regmap *gpio; config.reg_dir_out_base =3D IO_CONTROL0; (get_direction and setting directi= on) config.reg_dat_base =3D IO_STATUS0; (for .get) config.reg_set_base =3D IO_STATUS0; (for .set) As I have both directions, I must set both reg_dat_base and reg_set_base. https://elixir.bootlin.com/linux/latest/source/include/linux/gpio/regmap.h#= L52 In this case, I am able to use only pull_up register to set output value to= high as default. Is that okay? I am asking again and again to minimize number of= =20 patch. I want to be sure before sending new patch. Thank you for your contr= ibution. Regards, Okan Sahin