Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2372958rdb; Wed, 21 Feb 2024 05:57:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4CUXi09dRoxPonLhGbiXHvAnATxbZ7GyCRaT8YSgQIs505oCRTesl6of44yONdqh+nNZEDmwMydFJo6XZRFJZAL6iLAZsabREqijD2Q== X-Google-Smtp-Source: AGHT+IFeXMR/LM0cCdFuFnJhOkZp8x7UriU7b8HPGivVr+LSJHvHiQZ2v3shH2Qf8jQEJCfzXnZv X-Received: by 2002:aa7:9f0d:0:b0:6e4:71c8:d6cd with SMTP id g13-20020aa79f0d000000b006e471c8d6cdmr6219520pfr.13.1708523832908; Wed, 21 Feb 2024 05:57:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708523832; cv=pass; d=google.com; s=arc-20160816; b=VLfbEOPlon0wqLANzYb+X3vqL+e7eN8CJ3fF9o2Jvrdpw1TgH3sCG6D/d+mQ5Yugn/ wBjcOmo1h4lba/nURlUAff3DtAL6VC/i1evIqy2EtOjTTYqQ58Ex3XA3f9MZqczK5/gp XuFTDahEqJYO0uxyY7CV9zEN1t92JAP/5bLcLfo9pLaGh8NWf15MN8aRLdePNVWtpsWd uHK63waXd/cKH3HClHzqwLWJ9HCnmh7qafDYwdqfzYacGDAfGX3H2bl00SptDYb6J4fr qSzUUTfTT3UIly6bk6JEnOHetI8XaFTfsZRzPjm2oqhNEvv3TNV9KEFl+kXUlKNdTGKS YnOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ZsroNQtXczuhO6RxPh93TLxPT7U01/nSu3oEduu5kHY=; fh=QWujtJgnUHgdqkx7tKSYyGzRskBGbZAIQSDpN1Eh7TY=; b=q3Fyi8Q5xBIbEaJfZvoTfYaY8oXZM9sBd2V+MtEFDa4up8pU49NgyLbsUdMkinQ9sv e/H8keGw9SH1Gxw/vLsD7+17Qade7pgq5jK0uhhqHtaZUmptG0GdVZvxc5FSckQUJfVi qtO3iuueAG8uUVW7qWW2d3zpi7BV8WjWKN3+pYsPT9/sUT3/+HRjoZhyFsVG2eYYubpy 2G62z9caZObG3gcac0EIxodXuP3+x8IyO1It+rLHZY0Fwc8Shwd2dy3EbY7ysN7X7v/M qgo5027hHLAD9nlyMHS1x7144ebQXdK34AH+zcuLPRy+y2ckuw6GPJbzncgFuyimTqmv agOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUtAHWmb; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74813-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74813-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i12-20020aa78b4c000000b006e470d7dcb4si4180583pfd.369.2024.02.21.05.57.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:57:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74813-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AUtAHWmb; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74813-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74813-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 92242B21D16 for ; Wed, 21 Feb 2024 13:42:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A6C87C089; Wed, 21 Feb 2024 13:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AUtAHWmb" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 134347BB0E for ; Wed, 21 Feb 2024 13:41:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708522898; cv=none; b=V9HspXB2+8ruhyFyml4v1oPWpjf3Hr9KyGn9BsVcsplqyYHNMokpnLhImTVqVZUymyc1Tx9Kpkkfw43uX3hpqblZ01v06/fLz01vaVhKtfBBPEkJ0UBDDuae1DL0P1leVkZaQFpU25oU4CjSTRUfkbl39uRbHySx7abaJT6EIzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708522898; c=relaxed/simple; bh=ivEmiAr+W+JzNPOKebOhQImKyAB+5/Dd8FUTrPTjvb0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UoI8WCMt0HwUwhp4qLAZS4yE2R+Eh6GA7F5ONH7/r5aod7SETm8EW4u43yPRiQ0uK8VXjFAR/ULUK3RepeElsPhHDT6zrNn+6lUsPWf6E3N9ibpHTy0QPvsqM3jg0kIeksXd1SEMpkcdAocsbIJynqBCRNbWUEt6zucL2E9/dfU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AUtAHWmb; arc=none smtp.client-ip=209.85.219.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-dcc86086c9fso655365276.3 for ; Wed, 21 Feb 2024 05:41:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708522896; x=1709127696; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZsroNQtXczuhO6RxPh93TLxPT7U01/nSu3oEduu5kHY=; b=AUtAHWmbHwdf4giB9ucVqcKGp+edWClPLBk2cQTFElp03WG3qLeLnAU0RbaAhoWBGj eNLgtRUtuI/b2iSp1FWXb8jITvP0iN6fP5WJ7tHyDCjvw7DnimHFLrhgYNHiF0xV1lmk jwq4oVNN3NmqspxPCcx+zf5uFabWY0PhXXfnGX64xg/hsQqms7VAZ/4VeNAAM32lQRgP 5xH/GVwqpITvpvBj4X7HXEFEjXgtg1vsoJmPYh1k/wZHJY0fZLZsZ1E3yAuCzZHXpNZq 1OLQ820o/siTichuo5qMsu1eVRW03u00TJn+mKmbFM+5yPWjJOGlwzc6bjlmFw8pmp16 2aTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708522896; x=1709127696; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZsroNQtXczuhO6RxPh93TLxPT7U01/nSu3oEduu5kHY=; b=ajyP0xkCnWV5PHeOA3+/UO90HFUaX23PYpH5zlrb6SLSvsf1ieCjqYRpvu3M4m1rJ/ S5HHZCMyuqkMPQWR1etaIGHpfwmW8JYZ4pKzv11Rm9ZYdU7BXz62kNQEzYPHifKsjk2J /uSF9svdZ0CrB173bHlnrpmszsO4W/GQDaYoE6L0R/rxFQe9NDUKdrjBI9ZCXtYGzH5P cPJmq0jDXnHvcE+XR2H2lurxHBjtT2ylyCykOfPx4S7pAs77pBJSWnoR1UT2644JlDnA VkwUbl93QSVdENXR425jXCEAQQIxVUduHpoo2ng5BP88dEHOAj9ojPmkCYiTunApWO/m TjEA== X-Forwarded-Encrypted: i=1; AJvYcCVx+nWMTlB+vfIQ1bSf5yTqHzDkw1uVbhMxxy7v8mrPMo18c+Gqp6WHaIuJlhpoPxyTJ+7mDrE3/3gVqeGlUphFYbjhRNwn5Uef2Uim X-Gm-Message-State: AOJu0YwG79MDCIhhYgrSXh2POzm/BRqUzjHAz7E3XxlVwUTb/kDHTAp2 SFL4svsyryBB9uW7RzA77IzODKqDoOLCIKvtoBzUFtziLBVNfdgrYZs78z6pXFgsvfD+rhNzcZr V554jkMt272L4ExELJKIsUCIgMGk424EoLSQFfQ== X-Received: by 2002:a25:ec0e:0:b0:dc6:b8f5:50ae with SMTP id j14-20020a25ec0e000000b00dc6b8f550aemr19933910ybh.32.1708522896187; Wed, 21 Feb 2024 05:41:36 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> <20240212-mbly-clk-v6-9-c46fa1f93839@bootlin.com> In-Reply-To: <20240212-mbly-clk-v6-9-c46fa1f93839@bootlin.com> From: Linus Walleij Date: Wed, 21 Feb 2024 14:41:25 +0100 Message-ID: Subject: Re: [PATCH v6 09/13] pinctrl: eyeq5: add platform driver To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Gregory CLEMENT , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Philipp Zabel , Vladimir Kondratiev , linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Tawfik Bayouk , linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 2:44=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Add the Mobileye EyeQ5 pin controller driver. It might grow to add later > support of other platforms from Mobileye. It belongs to a syscon region > called OLB. > > Existing pins and their function live statically in the driver code > rather than in the devicetree, see compatible match data. > > Signed-off-by: Th=C3=A9o Lebrun Reviewed-by: Linus Walleij > + ret =3D devm_pinctrl_register_and_init(dev, &pctrl->desc, pctrl, = &pctldev); > + if (ret) { > + dev_err(dev, "Failed registering pinctrl device: %d\n", r= et); > + return ret; > + } > + > + ret =3D pinctrl_enable(pctldev); > + if (ret) { > + dev_err(dev, "Failed enabling pinctrl device: %d\n", ret)= ; > + return ret; > + } You could use dev_err_probe() here which suppresses -EPROBE_DEFER messages, but I'm not picky, just mentioning it. Yours, Linus Walleij