Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3169259rdg; Tue, 17 Oct 2023 06:47:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7wx8aTqeOmceMwBP+OO72yoOzaadzxpiO88zaAU+uUZXb8leY8HR81+HK6WH9NPS1E2Qt X-Received: by 2002:a17:903:5d0:b0:1ca:529e:3d1e with SMTP id kf16-20020a17090305d000b001ca529e3d1emr2083385plb.12.1697550449605; Tue, 17 Oct 2023 06:47:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697550449; cv=pass; d=google.com; s=arc-20160816; b=n9/pOnEtu55AU3mxMt7A8p68D2GjdXMdkcUFgmf+aCcKqN48ujgV2G0ajWQY5hGD1A 9Sijfeb9JRB9n1VAOdiO23RAQVaurV0uvlYiHJ7ar/tuUtr61a8roRZi/T8ZDQVt1GB0 hsU5PGDBZH4HQka4Pz1IwoQUupxF7V0hlV8IgBzWZ/9oLCU5U1XN5mJeKiQkHDKSjRuJ 5tl8RPG13yy/+NOZGM4qjvYJ8nJtG3m5JaebdSnzxgrMCZf6pTtwQe5p0OI6gk/oNBgs F13gwxGDzvKeb3KJkNPpzY7ZLUVPS5vMYf+ic8Y/GYhnN7LoliwlAgbtWVVNvBgYHalN rgtA== 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=HaDJOsQcD35SBVdCghlQ+WI/eAEj2GLZO8iGM8x/sNo=; fh=dHxbKUK10IfNr3yPLCLatO8c/wbqZiwxI3HO8aZqOFE=; b=XcJgu1E2d+J6AzSS7YAGE1Chz+xwyOD/cIwYxnumU00puh9DDbOrhs7U5JICWwyvR9 QPvKVsk68U5onRUrCtTnQ8joRmFqlfwOCNsa4r8E2nCDdcIEclt3E+eQwCpzTxcQYEsQ xA2ttOSmCqAaT8uxS/9ZEot9YSKLLnr8JQmbOMv5UE5VRHZsb5SJGvxLx83yFI0kgKJb xXRwWjrKWMdDQqcB5qoO6aegYVhPTq96nV6Uv8YdVeJqIceUM+HvWHrK/5qsuQkjYTWF 29oeB7V9sI/vfpqtXLmj+hMaCT1xXTmYVkM0U6D7jFjxqWM7cv5DjqG45UEchn98ARm7 7guw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=0xGeVZSu; 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 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q23-20020a170902bd9700b001ca529e3d29si1724218pls.168.2023.10.17.06.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=0xGeVZSu; 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 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 03D3B80C60C6; Tue, 17 Oct 2023 06:47:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343667AbjJQNrD (ORCPT + 99 others); Tue, 17 Oct 2023 09:47:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234843AbjJQNrB (ORCPT ); Tue, 17 Oct 2023 09:47:01 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C602EA; Tue, 17 Oct 2023 06:46:57 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 39HDMubQ028554; Tue, 17 Oct 2023 09:46:57 -0400 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3ts569r4nd-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 09:46:56 -0400 (EDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UJ9c+04FuL8U+G9ueGtGDv1SuhJgEQSKDPoUILZec66JmrARYc+yJm5RDf/U3NapQRjLKEYBvvRLLjSjCZ8Y/nPUUIzDt2nl/BWu57f65P0yzD0yp2X+tLgjcKk9oa78JaDoulWvKO2LFuuvlialPwpVfe8E4VoOllIJIEFIbcPzmNBVigUqr94wfVsGVHNUqiQabr1yJ+MfwASCPor4kyhaPeqMMvjHh7RFaAm8LJ/5xjvMeiUbWL8MtwnnKWik5bJvpTnLLlPVpQxU7it+tXJWx+5DY3WbKdiRjx1oRGx/I+nl80a4vSvOeBZOXsv50rU3qBukvIPYc+bi6bPAcQ== 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=HaDJOsQcD35SBVdCghlQ+WI/eAEj2GLZO8iGM8x/sNo=; b=Gv8pHfLXzFYzO/x8K16qH8Bp94ucJEyqaHFfJZKygCx3dtiPZ9ZBk0s8HD6EasHZxg7TRytRUyHkc086QQZEUKqlosHENnRMjVYOKCchcvcjpHxY3C4ztAXQ7XJasf6nnjGK11j0ex7RBB+MZgGMXKalpTfJe+91js/WG87J/loUQwuj36rRJli6nNdkxYo/jVcz/Cfp1LETlB7KzjiYEdcr3PbNaGI05NxFoLss00dEOZG8GLDu76r2fpCRoiwLKkUncCtdkF9r6vuV/C+oVC0RHDvsqLrbY4exdMz6l0HoPV8uTYwIwb/DDKmsePs1mkvEjfVXXX1/1i3zFQS8WQ== 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=HaDJOsQcD35SBVdCghlQ+WI/eAEj2GLZO8iGM8x/sNo=; b=0xGeVZSuyIi7niXctVWeSTymbiT9prIAj0PZWRpLkIgR0Tqh0Z6cyLK0i4gvVAWGHVhOWJLk6Plt9UKoKqUi4OHyZJG6Kt0UQVEEIDZALHx4UieOh/oPB6qDYj48f5VUqwwKEEDwQFzkVlNuphIKDq/SMGDlegjv8MsGCi6bfxA= Received: from SN7PR03MB7132.namprd03.prod.outlook.com (2603:10b6:806:352::6) by SA2PR03MB5772.namprd03.prod.outlook.com (2603:10b6:806:11d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.34; Tue, 17 Oct 2023 13:46:51 +0000 Received: from SN7PR03MB7132.namprd03.prod.outlook.com ([fe80::7064:6752:602f:7886]) by SN7PR03MB7132.namprd03.prod.outlook.com ([fe80::7064:6752:602f:7886%3]) with mapi id 15.20.6863.043; Tue, 17 Oct 2023 13:46:51 +0000 From: "Hennerich, Michael" To: David Lechner , "linux-iio@vger.kernel.org" CC: David Lechner , Jonathan Cameron , "Sa, Nuno" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] iio: resolver: ad2s1210: add reset gpio support Thread-Topic: [PATCH] iio: resolver: ad2s1210: add reset gpio support Thread-Index: AQHaAEeEZrW9+LMH/kKVC8C74GE9yLBOAAXA Date: Tue, 17 Oct 2023 13:46:51 +0000 Message-ID: References: <20231016154311.38547-1-dlechner@baylibre.com> In-Reply-To: <20231016154311.38547-1-dlechner@baylibre.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcbWhlbm5lcmlc?= =?us-ascii?Q?YXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRi?= =?us-ascii?Q?YTI5ZTM1Ylxtc2dzXG1zZy05OGFhNDI1Mi02Y2YzLTExZWUtYjgyOC1iY2Yx?= =?us-ascii?Q?NzFjNDc2MTlcYW1lLXRlc3RcOThhYTQyNTQtNmNmMy0xMWVlLWI4MjgtYmNm?= =?us-ascii?Q?MTcxYzQ3NjE5Ym9keS50eHQiIHN6PSI0MzE4IiB0PSIxMzM0MjAyNDAwNDUx?= =?us-ascii?Q?ODU4MDciIGg9Imc3Y2JGNVFTbWNtZGVZRlp4SGw2TElDOHJkZz0iIGlkPSIi?= =?us-ascii?Q?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Hb0FaUUJqQUhRQWN3QmZBSFFBYVFCbEFISUFNZ0FBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21l?= =?us-ascii?Q?dGE+?= x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR03MB7132:EE_|SA2PR03MB5772:EE_ x-ms-office365-filtering-correlation-id: 09374c7f-1db9-40f5-0c20-08dbcf17845c x-ld-processed: eaa689b4-8f87-40e0-9c6f-7228de4d754a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +VPFn9FJJaXQS9yW95iWFj2nOoXv3dQsGb/ySvj09wDyx16+FAsNN5ya09dRyOddHjEXJ4Iv/wV7IxImlng2hiElfVhsxdnXIBAOJvubg4cd60yMUzB+Gl4IwT28SRtkN1xh+QEgbfphGUZ9VOS4i3xhH0iwpax1sVszFxO1vP4YCjBtSpj+k3inEWmH0JbcA+8kwlsIHijqs90Or8R3iwy6WU0lyVqQoHZeMsJWHWWRQxbG9hRTWeD+c1XKW9h8X4ht1ZfE0H1Lk3/PdNy31VnakWnr79CaWhCYGRZ9zQO9rVKGO9KyzNp8iXT0dH3nBLIltx85LbNkJVJaR7s71kz+1WV/j7+cpEWgds6fIfCkHtsBfqpw92V9vDPNPFMEf4spGt5enO46D7mauobTv92TB4c2A64EDGjo8K1hcea3kc1ljvo5uXsSt9s91j6NNrtdsLr1ehcxeDpqxmRT3/JNbUctNEKp4YO6tiCLh4YLpHqWIs31Y2U+rakH/6S1gXsQWAS+/VkmZzSGVRp209qc818pEfynBGoli9a5xBIats9Z3bYdNjAEF7Vw6uSWfa1ILvETJj1CuTFewRk4/oYiq7hsVkTUCzwiJaMcA7I/QJEVZwsjvxceMlpMUTfo x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN7PR03MB7132.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(366004)(376002)(346002)(136003)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(55016003)(26005)(53546011)(7696005)(9686003)(6506007)(71200400001)(83380400001)(8936002)(4326008)(52536014)(8676002)(2906002)(478600001)(316002)(5660300002)(64756008)(41300700001)(76116006)(66946007)(66556008)(54906003)(66476007)(110136005)(38070700005)(66446008)(122000001)(86362001)(38100700002)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VwABa3bf/7EZwE7iYiGSCO++FVu0UBLwxr2b0RtZB/V6XHSY6td0aK1uYfMY?= =?us-ascii?Q?0+JjbZuCuJX9jcB+r6lEiA27sZvPAxSZ6J/o3ngLZVHfDcYsVOPLsa0l3UCb?= =?us-ascii?Q?pHBDG+gayY+dJrCopf+4Fltb/xtPhFZfvSEnVKngV+vPyRv7+ibHZS2J9EV1?= =?us-ascii?Q?fS1/1+BRF80sO1kzVs/f0Pat67Eq+XnhBZ7B0Q0163BIllHOzY1FJARsTZu0?= =?us-ascii?Q?bHbuIQeytkIR3R6QJQAF+vNZ6atff0oqjDqAHx6DSZ6xPiMDZQmOBrVRFDex?= =?us-ascii?Q?Tp8VhEdLm3KSGYwpZqJ98Weikon6gdCBXSU3ilqqkHLnY27qOItM3iKXhO2x?= =?us-ascii?Q?l6LfdRKMHJwM079DknvPKvysW5WbVxlvs5T9Bxb3Vu13SjPMj9Jxl6dXh6mP?= =?us-ascii?Q?/LreP+HfmrXynLyirLX4Cgr/1pAWk3nAyYO/agEWl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NPU5BqpmRofFLRVoZow4ajUkCuftUfoTFCys?= =?us-ascii?Q?/mMESJHBLvmehTjTppFh7p0X2H3ImFhOPo2yIKUOTwQqwbdYj/cFJKKSsH/7?= =?us-ascii?Q?EDdwH9wWv8rX67oI6chXWUyAhI1+1Us5wivKJBYps/oGiShOKYlYipbxPeKz?= =?us-ascii?Q?6DKNTVQDRyabWlLzY0fU2LzreW1nTUGiMUWEvL/8JfKe9kgCfRxEqiTNjOZA?= =?us-ascii?Q?xOMGssXW+b1pA+ke9tpY8L2Kl307/btPBzyJ9ov/dLJ5wDTsGldpjrUDoyBb?= =?us-ascii?Q?pA=3D=3D?= 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: SN7PR03MB7132.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09374c7f-1db9-40f5-0c20-08dbcf17845c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2023 13:46:51.4530 (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: x2FC7mzWDDEoWoGsJfrkTza9/eXD80UWHMtBl6ySOXPFNGaDR+vdbQgp4zryBCnXR9wNZ3GRU1El1eTI1ukwVb4zWTzG7JDm0tNhpXVSvl8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR03MB5772 X-Proofpoint-GUID: QS-oeZWQEyuNhlwFnDJXpKKPravhPRoe X-Proofpoint-ORIG-GUID: QS-oeZWQEyuNhlwFnDJXpKKPravhPRoe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-17_02,2023-10-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2309180000 definitions=main-2310170116 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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]); Tue, 17 Oct 2023 06:47:25 -0700 (PDT) > -----Original Message----- > From: David Lechner > Sent: Montag, 16. Oktober 2023 17:43 > To: linux-iio@vger.kernel.org > Cc: David Lechner ; Jonathan Cameron > ; Hennerich, Michael ; > Sa, Nuno ; linux-kernel@vger.kernel.org > Subject: [PATCH] iio: resolver: ad2s1210: add reset gpio support >=20 >=20 > This adds support for the optional reset gpio to the ad2s1210 resolver dr= iver. If > the gpio is present in the device tree, it is toggled during driver probe= before the > reset of the device initialization. As per the devicetree bindings, it is= expected for > the gpio to configured as active low. >=20 > Suggested-by: Michael Hennerich > Signed-off-by: David Lechner > --- Acked-by: Michael Hennerich > drivers/iio/resolver/ad2s1210.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/drivers/iio/resolver/ad2s1210.c b/drivers/iio/resolver/ad2s1= 210.c > index 8646389ec88d..a414eef12e5e 100644 > --- a/drivers/iio/resolver/ad2s1210.c > +++ b/drivers/iio/resolver/ad2s1210.c > @@ -1426,6 +1426,7 @@ static int ad2s1210_setup_gpios(struct > ad2s1210_state *st) { > struct device *dev =3D &st->sdev->dev; > struct gpio_descs *resolution_gpios; > + struct gpio_desc *reset_gpio; > DECLARE_BITMAP(bitmap, 2); > int ret; >=20 > @@ -1481,6 +1482,17 @@ static int ad2s1210_setup_gpios(struct > ad2s1210_state *st) > "failed to set resolution gpios\n"); > } >=20 > + /* If the optional reset GPIO is present, toggle it to do a hard reset.= */ > + reset_gpio =3D devm_gpiod_get_optional(dev, "reset", > GPIOD_OUT_HIGH); > + if (IS_ERR(reset_gpio)) > + return dev_err_probe(dev, PTR_ERR(reset_gpio), > + "failed to request reset GPIO\n"); > + > + if (reset_gpio) { > + udelay(10); > + gpiod_set_value(reset_gpio, 0); > + } > + > return 0; > } >=20 > -- > 2.42.0