Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2533735rdb; Wed, 21 Feb 2024 10:27:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVD+S3Iyz6OW7zKl/yGXIr5SscS/h4JlHFsh7u0S/dHJZq094txRdWrUwY9M2677g/UXZTwdN19mkVDi44tLacPXnEukt+6eAm8lnDzmQ== X-Google-Smtp-Source: AGHT+IGVg3lh8HxMQcJObD4oM3Eehjdr/B/8zFte/4BRt3yifGo2hszFf1PfOFglOGiY5dlXrqRG X-Received: by 2002:a81:7386:0:b0:607:96d8:cc50 with SMTP id o128-20020a817386000000b0060796d8cc50mr19585003ywc.23.1708540025789; Wed, 21 Feb 2024 10:27:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708540025; cv=pass; d=google.com; s=arc-20160816; b=Hdj4kBDXbjyBwTwD90F1fMiGmFGl//h/Lt5O39SInsDbs0ouCv0935IEEQMCt8ZYgZ cOEFUGmdiUCK+k8od8hKhxPYP9q1QSsIY7WeZlXDsnhFMgoANQ+9Z0WdUwkx7QWxN1uf vKhUurMWrpbC/gdmFsqCeHsUdJmWH7AM8TSXzCyuQ+rIxiRaOGEa+laKnhET7R9ey+H0 9p4NxOweGEIpI3fSHhGzavota3SEt/CKK4W/w/rgBntge54De5pqRvLHsWAjF64fCtpL ldUByqARIE2C45Ze8PfGb1KDvz1otoE7LTA+C9LIdxqToVNC5NKO1MnnNiF7btn1lxyq ApXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:cc:subject:from:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=5/dwbAwEBir0o+55RLXnFG44DT+GaykMzVR3AlyYmPs=; fh=dXKNnnIAGtnYikl3l+PbplaPowoCWQDKqZLV8D0zWzY=; b=rNHBKY5rFccXWBCfZK6+3w1I2knc6dZinkXsu6QvgLEbQ0uMku0LyVOeF1N6eXu0ES rgRJFYjco26mjtaMy/Jw1wCLQ+G6TKs8PkOYh8F/TtFxzfrij+oxcamP0Jbq5/L8NWY0 NiyuH91wR3GODJ+Qe7Oi5hAhxBYSsHfiT0M65felXuT3Tw2IRJeA6wb9eWj7JBjKN4oA 2E66UwgRggpz6dT4N4NzJtHJO1zwUFdmgBN0Das4NQbdc4oV79W3sOIluOK8fCnJTVMR 9lAXeqwH6CQrBN9cKCdjdxJAjD4YePQYJgKJAPMlwI943RnaErMM8jTDNmihUtqFY8p8 68tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YCGN+mur; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-75286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m12-20020a05620a220c00b0078735bbfdaasi11111525qkh.694.2024.02.21.10.27.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 10:27:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YCGN+mur; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-75286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 87D2C1C21AA9 for ; Wed, 21 Feb 2024 18:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D40C86650; Wed, 21 Feb 2024 18:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="YCGN+mur" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 937E586646; Wed, 21 Feb 2024 18:24:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708539848; cv=none; b=KvQ4BUqL6BxL2DtIaB00NIHclMpwRh5183A15BOWT7W++OIndQKY7tXRClSs4CZoZ6teh++zmRGcEHIX4B4k4NhdAWG88Y8JlvaOi1H2Zvhpf1U8mI8epag3e/FM8phNVQTsNXAdQe2k4J3is6p0xRRQOYf1pOoMxamqonbG020= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708539848; c=relaxed/simple; bh=yjb4Owa0Esi7QyGu8TKTmbHLEH85uNcdfz6jVPWgP+o=; h=Mime-Version:Content-Type:Date:Message-Id:From:Subject:Cc:To: References:In-Reply-To; b=ToQQ0jt47aenWCKFPOp2ITlquAnXu93U8GtFdrqnDpQPSJzZN9qzjwk329msa56gf3rURmsKjePLE2/ZCF6gI6SOfIq5dJElrAvTSy0yLz9zyluzvUhdcmO70+c4dtmmOjxEl0Twmsu2sEVrajDejpMBsEeAshwPbk4Sfuokdl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=YCGN+mur; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 70F511C0007; Wed, 21 Feb 2024 18:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708539845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5/dwbAwEBir0o+55RLXnFG44DT+GaykMzVR3AlyYmPs=; b=YCGN+murJd2C/ZBC6FdQnUQfJGiX0tNlkAb/yTsbPzSiyXYuJoxW36bTP+41DH5ePZ5q4X cboFCHzlC1BWTRafCkI7gAudhlHK8kcfCyDTcFIbdAy0yWWLejrAIkV79latcoSX8i7FdQ /2z4Gh+3erwUoob2uN8urE5EYsVXiwdl8Yn1wDn+JybzH5IFZRb1CsmS+QAwKntTyejluy Wm+9WSmXDuJreX8JWIf8QPcl7YucCwDSo2WxbdNiuuppPiJ52nJIsPjba4mvIMu+6n9MbH KDqZmjJ3xmIIpWYQwadVPJouSmeKNOVEmrdamsN67Hrn6cRbdJwPcRV1JIt4Tw== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 21 Feb 2024 19:24:04 +0100 Message-Id: From: =?utf-8?q?Th=C3=A9o_Lebrun?= Subject: Re: [PATCH v6 09/13] pinctrl: eyeq5: add platform driver Cc: "Gregory CLEMENT" , "Michael Turquette" , "Stephen Boyd" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Thomas Bogendoerfer" , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , "Philipp Zabel" , "Vladimir Kondratiev" , , , , , "Thomas Petazzoni" , "Tawfik Bayouk" , To: "Linus Walleij" X-Mailer: aerc 0.15.2 References: <20240212-mbly-clk-v6-0-c46fa1f93839@bootlin.com> <20240212-mbly-clk-v6-9-c46fa1f93839@bootlin.com> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com Hello, On Wed Feb 21, 2024 at 2:41 PM CET, Linus Walleij wrote: > 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 late= r > > 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",= ret); > > + return ret; > > + } > > + > > + ret =3D pinctrl_enable(pctldev); > > + if (ret) { > > + dev_err(dev, "Failed enabling pinctrl device: %d\n", re= t); > > + return ret; > > + } > > You could use dev_err_probe() here which suppresses -EPROBE_DEFER > messages, but I'm not picky, just mentioning it. Well, I've followed your suggestion in the v7 revision. Thanks! https://lore.kernel.org/lkml/20240221-mbly-clk-v7-0-31d4ce3630c3@bootlin.co= m/ -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com