Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2046217lqp; Tue, 16 Apr 2024 06:07:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqaXDRWHf01lO+d/EiQLv4DOQlrid1+hJUkvESz3HMhRMNqiskMI/oEb6NLk26W5O43gxP1so/kfxVgWtWriV4g1VZZxm8tJqOTJmlVg== X-Google-Smtp-Source: AGHT+IELBMVOa2MPg6F5N4uaKVWnP8e86L88BIu592ldttXlmklKYbU9JWHMJdj3Fj7K3EbdCoif X-Received: by 2002:a05:620a:460b:b0:78e:dc38:eec8 with SMTP id br11-20020a05620a460b00b0078edc38eec8mr11032487qkb.14.1713272852808; Tue, 16 Apr 2024 06:07:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713272852; cv=pass; d=google.com; s=arc-20160816; b=nP5PeNb+7u15hgWmnqxrZWP0XXooCbX/gruM3jZ5pNpLThjTh2mSJm/VLOmiSosPgt kAMZKA0j5jrlyk4s0cFLfNZbUY7IEG7TQZL7cROKdotGuil6QxJFzcocnojNEyE740p2 IqyWmL4mKAvkI0wyBfvBuBUSkZyq4DDKe/8/N6SndswuSa+PzYwkLoSaGiA+ogWhq9Kf nqQOVhyfteFk4Nbg2hhaZByIkmpb+qyYpoaMkotXdm7PFbMAuaGwUArJhO7wXPYONY8U cZGP7Lp/3d0levME6+A3LfP/a6YQf1pMtYFRvl2dDS1kyVcJsrBnhki8HhTAO46CzUpY euNA== 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=t1wZ4RlxPXvTNTt155bxNVqHJ65kss0cZ6zzPcL8MBU=; fh=5Iz76p4NK7CQm4OILmTIIEas2m9JNjAxJS/Wf1aQCSQ=; b=S79wH2aTZRW4iD8j/zv17tuBEZEb1RYNtfNXWu+YJ5oC4wwO+g++uNo1cv4L+xNg7A kxLzuXVFc9O/XrHAu4oMSURJjZxvL/f4X1AMT4VdxokubrK22IU+F1TyEkAtkafIelzI Q0a5GLwecQLPjHgTYC53Byo7HBdeRCaRaLCWTSTPN1iThv4K7bx7pxbVUbOphij6PG0U dvLdprM0pzK6mwlhxsHu8Pg568TgKlgu/uh6d6dk57MALreJt19Gt2RYX6fRWi4ZVKzf Oj6W4zg65nyN4SdkQY7hay7LoLBa6ztk5fcFtNH0j5t0THtpafQnlOOd/vVVmlGzHKhx OhVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DWmgPb0N; 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-146850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c24-20020a37e118000000b0078d549b27e0si12179325qkm.260.2024.04.16.06.07.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 06:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DWmgPb0N; 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-146850-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146850-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 20E511C21CCD for ; Tue, 16 Apr 2024 13:07:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AEDE12AAE7; Tue, 16 Apr 2024 13:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DWmgPb0N" Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (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 CBF4212BF34 for ; Tue, 16 Apr 2024 13:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272843; cv=none; b=HRaErX3v/PAEUtImzdz80yH8jckRYDeSWNeaJyG3vl6oDjAs0LMGHOlG9YL5aQnVDPXWb7/PfkBTW2IJrwjKgwZdONgcdE8BS8/49/5oggASRsU93YTCYBjC+9e7Qp24UiK260Pj7kJAk1672Zi7KwMIjBfOUY7pFMD1KRW5dGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272843; c=relaxed/simple; bh=HmvXI03R5pI/zAKZJlsrVo2+wK/0GPdxyq1DQa8OqhE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vEV9kvXQuorwD6bA/bi4GXxqoRa52DI5e8nVExX37b6/VF3mn1UAzq+dkAVwGF2G9CJ/56aEf9m0fhfpSNLNIDVRMrUKaQI66tsio9U/Ho8tJB8tKa2xe/290LFReL7L5hu2Pz5BKCbfyKnq3Mnos/ofQ7WwC2WtKARmBl12qQE= 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=DWmgPb0N; arc=none smtp.client-ip=209.85.128.182 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-yw1-f182.google.com with SMTP id 00721157ae682-617d25b2bc4so48794267b3.2 for ; Tue, 16 Apr 2024 06:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713272841; x=1713877641; 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=t1wZ4RlxPXvTNTt155bxNVqHJ65kss0cZ6zzPcL8MBU=; b=DWmgPb0NmQOrd4jA1gi3TbyCJ67dSQiZf07YA1YuXkzXtF9tln+KzWyrsngwt+NHB1 tjIFhiZIOrAqFDnjtDKyM2hyIuRhCVd9P55wFy16augpprdz47xpdgMaDuC/KXZ/1CpK PKM2JakGzGJe+OjDGiu+hbQqNVv9W1ygBtYdKlo9Vbhau/f8XPS2rjzSGgynHVd1yteo iq5oBzROFj8r3kC3JNBpk7c/7FQ+QopXkckH3hLN7XoTwci7E3SMgRPSxS/vEQFxMYJM MoyZqSKQGJdGhJgQJN4ymEZ0TLRZO0UYh6+Nbz6nzx2obqw2XnpvClZlRMXMpUNtpZEW 8qnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713272841; x=1713877641; 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=t1wZ4RlxPXvTNTt155bxNVqHJ65kss0cZ6zzPcL8MBU=; b=pyI2dpaOG2zQ5zTajhJzPajMeuFdZJhPPG/m5s48utr289bCmhc92laZQsUvn7srf4 ElzrhKVBe9EEBhP4v/9SmwATYHd5gJFViLcMZ7UcbfTcjNvSAwfPtg21PXLU0cw1FgtR ANmyRVmBfTuDIQA1R6/EflAeREIYCM4O9ardw8TBFacXqxWFufiyiwyx2ygVqSj+xUMf O7W7oXBuNSO4oprDPHzFTQfAMeXulxgoM5QS7PrBewZCHw+qAudn0I85P837cbBDiDng lqQzN1PPkRX2pP9MDnacO15awDnCD4ANooIYMbw7jO/54fSK/8TcMbgNxc6qlCb5ZG3r CGMg== X-Forwarded-Encrypted: i=1; AJvYcCWKTXHdLzWltnNAK28jKhtwfiKMgiJyJGNwH50o6CyFTisIgB8y8Vmt/w3cYPuwLkqE8fg7NI0DaZNb7QL9HLiWOZWqPlwmo1tWxJax X-Gm-Message-State: AOJu0YwD+RL7TF+FSWWq4yLQZeAXgAftWkLbdyaFYdVYbhb+ndD22tNn 19ozY7lRgUe8z3Az03KNHQUNaeObLuXOrG3aJdGlh9dtelPJrR6shv8sHqc6k4anJevD00UIcNG /4quUXa1MzmEBMDr0j4IHmnBHrAs+mbCQbZBQEg== X-Received: by 2002:a81:7e06:0:b0:618:517b:9dcf with SMTP id o6-20020a817e06000000b00618517b9dcfmr11136789ywn.22.1713272840743; Tue, 16 Apr 2024 06:07:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <8fb5dde9404875777587c867e7bdb4f691ab83f2.1713036964.git.andrea.porta@suse.com> In-Reply-To: <8fb5dde9404875777587c867e7bdb4f691ab83f2.1713036964.git.andrea.porta@suse.com> From: Linus Walleij Date: Tue, 16 Apr 2024 15:07:09 +0200 Message-ID: Subject: Re: [PATCH 4/6] pinctrl: bcm: Add pinconf/pinmux controller driver for BCM2712 To: Andrea della Porta Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Adrian Hunter , Kamal Dasu , Al Cooper , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Jonathan Bell , Phil Elwell Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Andrea, thanks for your patch! Some comments apart from was said already. On Sun, Apr 14, 2024 at 12:14=E2=80=AFAM Andrea della Porta wrote: > +#include > +#include Really? Why? > +#include > +#include > +#include > +#include I would just expect these. > +static int bcm2712_pinctrl_probe(struct platform_device *pdev) > +{ > + struct device *dev =3D &pdev->dev; > + //struct device_node *np =3D dev->of_node; > + const struct bcm_plat_data *pdata; > + //const struct of_device_id *match; I don't know if others commented on it but drop all commented-out code or make use of it. Yours, Linus Walleij