Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp325864lqa; Sat, 27 Apr 2024 04:14:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPX61S3lWZuS+rkd5uotKxjiamkvKhZqhYNoLOo5XfjfZZMeyE5ppKK9fTfu92F9x3HYnjm/mejjTOjHYl86Sh+oW7FTHDh4ggZLMQ9w== X-Google-Smtp-Source: AGHT+IF6xOvsOtQORMy0qlzZhaohfLtwsg4ixer/ykTRA4/DXmJ2VQRUdqgL/ASVg3OgMtO2sDty X-Received: by 2002:a05:6a20:430e:b0:1ad:8334:df97 with SMTP id h14-20020a056a20430e00b001ad8334df97mr6569328pzk.5.1714216442824; Sat, 27 Apr 2024 04:14:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714216442; cv=pass; d=google.com; s=arc-20160816; b=CeYFrJroI6GwPmkNZA98MSkU6W0ew9MRT98V5nyLf2+elag0X7pXeT2+Obr/jqc2Bt kZicp8eomdFdlbImYA32eLBAlgYFkR1CCzMPxIi1KauDGDa5GAVyayQ70TS3//MA7S6B qrTPYrOi6y8X99LBFTe2T94kFS9zr50ReGwgDbRo+xd6uaLnZVhyLFF4FviW5AjTla8f ubxFkPBn3nhszePO8xwsRcMo/ZQerYp66Z9IEdhS+cRNL5IxYr4q9IoqxurqmjUxPT9k KUlZkYruj6EI0wz9O6CZY2vXZZNuaTB3VnZnT2/xf/DXSG4T3Q9QFyFzss62/NGREO53 7Vpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:mail-followup-to:message-id:subject:cc:to:date:from :dkim-signature; bh=4RDYgLk1RtD/QZsZ7nsHxXtHxKa5q/ot4f4fZ891gTM=; fh=/ROLBvjCxVfEc+TDH1nQsEo5g5348IWlix72c2+mESM=; b=ESAtnpuCSv3VSJhhbqd5H2PF/HUJfS5pkVHDl7vz0u5FKA4VUAzCggT+/LUBS9S8Sp ckGIFBg0O8kKtHIplpyWgUXT8I0JIb622OORrBDVQi4w5u/zOwV+Nl8LQXWtSVDYze/t qX/j6fFOjYYMvhH5PnQC2/3+H2VnjJErmDFZyBC8alBicFx0Jte9fpXKdHUx7TD7qSlU 3+FAr/D/urMdDliL45vVVzp0+ByjFb5kRpyRXin17rwbpnEpl6S7P0mN6BB4Ih4a6BOP C8apjGeQB31PI9wb0YvaeWb53R530/abBKgYmYXW+PD+NhDWlzGiuCgKnE82ZHbr4aOZ nQKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=gjwb+yHB; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-161013-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t13-20020a6564cd000000b00604b94711besi7338122pgv.43.2024.04.27.04.14.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 04:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161013-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=gjwb+yHB; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-161013-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 78A882829E9 for ; Sat, 27 Apr 2024 11:14:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F37A64AEDD; Sat, 27 Apr 2024 11:13:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="gjwb+yHB" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 4D8C7482E9 for ; Sat, 27 Apr 2024 11:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714216433; cv=none; b=LEkC8NxcdJc4Y/2DfxCP6rDUL72m5tLxz1w6lPkam06vQ2thAQqqVqz5/upyE+eHyAb7YbUa2OsTa3dAbk0CKApjMbGc8g2czgL3l/l+iTgntqsZWwllZohHMgnq1CU6/Tgv0anH/yjjqnWd6HMLTJLbSUbEivssEfC+2aphFQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714216433; c=relaxed/simple; bh=Z5qfOnWdamTc+T2nZyu7qHNYdjyHqF1xekWpTIgiRSc=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GSN2LwHoFoeBf+9QhqMXBZymKeepcTz0OKEFhxn5aAfSPRmXFUupgmnmpRVxpvhR3ByERRt2hCkdQUvXqZdhtO1LQBjB//DLA/J9my1k6UM0w64Xv82Fg+zVBOWJLRPIRK1TcCPZ+JE+1uVXWtBl9OPcmR/nocD1P3x3HRlxihk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=gjwb+yHB; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a58772187d8so357961166b.3 for ; Sat, 27 Apr 2024 04:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1714216429; x=1714821229; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :date:from:from:to:cc:subject:date:message-id:reply-to; bh=4RDYgLk1RtD/QZsZ7nsHxXtHxKa5q/ot4f4fZ891gTM=; b=gjwb+yHB6TymEvpZCgZYjNGSwcloiwJLyf+VyQ5wCKT8oZoUwr/PeHYyTr0ZrkLKIq 6636+At0ZmlPYnGyrmhPnr2IkkC8kygdvLGpZPnHv9I3/cALYhclUjVCWFZM1CGmVSUm eWE7+Yv8N/luafZWaDb9dBGcF9ZZX+PKcg+wUEXAAwRWwJYJJJYHTNOPfNHxccDqyM/+ Qb99fFqtYH8XH6m+OCJwxDSsximbeTR7nk19hhGxghO1eoVbzNA8msyxuuwtnAwDB1uV MLvyIUON3iRktBK4L8Wx6h8Yth0DD1fDll6oRqLXe04wy11asBG1e/iXa5h/WzUCDIIS zSsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714216429; x=1714821229; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4RDYgLk1RtD/QZsZ7nsHxXtHxKa5q/ot4f4fZ891gTM=; b=mUE+KJKnqfMcONkl73UgRn8UbMWG3pfJi5lGpPbgOwXuXcYNP8wcpKNslD3sMHKs5I UOpsTqfWkenNQ/4jyStugU7Rn4Fpd9MfVggzUogP7eQ2TSZsdvmOhi53a7SWxCHYzmsk faWyCmai3ZUcsPqjD0ejk7/CdNIKnU22pFFFrtpk4yL3xCdFFu6bDoJxXPgf598PBkEq Q0LEfMgrXYj5K2K/zG5g5jDIfK40CEF3Q71D1t9uY4fk+Lz1gXVxUN7vliFUx6jYi1Hg jZy80exA9dU9gDzKtwsMMNSx/5a0xpcYRYR/8L/cx10TnWlWNLvmpOi2aKq50oSXDkwW SvKQ== X-Forwarded-Encrypted: i=1; AJvYcCUO435Mhei32Y6nbO/BNGJtq2JRknLlWYv/mdva4BAuW3poE37ELG4QhBst4B4Z3LE1XXWjdVvtFEQuor5+/5LY4Hnhsfg5qgkwN8fn X-Gm-Message-State: AOJu0YwY4S++4oXx/gxyNoj4RSejxbpob4icBFdls8nHB5GAH7zlroOy XGlr1nWCWLe0UCsxr3y4tXYw6+SAzwJuZxJin07GliU2XpvSI/gVYDfNJNw6zyQ= X-Received: by 2002:a17:906:aed2:b0:a58:a2f9:d795 with SMTP id me18-20020a170906aed200b00a58a2f9d795mr5383931ejb.59.1714216429515; Sat, 27 Apr 2024 04:13:49 -0700 (PDT) Received: from localhost (host-87-1-234-99.retail.telecomitalia.it. [87.1.234.99]) by smtp.gmail.com with ESMTPSA id ah2-20020a1709069ac200b00a4e393b6349sm11462597ejc.5.2024.04.27.04.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 04:13:49 -0700 (PDT) From: Andrea della Porta X-Google-Original-From: Andrea della Porta Date: Sat, 27 Apr 2024 13:13:50 +0200 To: Linus Walleij Cc: Andrea della Porta , 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 Subject: Re: [PATCH 4/6] pinctrl: bcm: Add pinconf/pinmux controller driver for BCM2712 Message-ID: Mail-Followup-To: Linus Walleij , Andrea della Porta , 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 References: <8fb5dde9404875777587c867e7bdb4f691ab83f2.1713036964.git.andrea.porta@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On 15:07 Tue 16 Apr , Linus Walleij wrote: > Hi Andrea, > > thanks for your patch! > > Some comments apart from was said already. > > On Sun, Apr 14, 2024 at 12:14 AM 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 = &pdev->dev; > > + //struct device_node *np = 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. Forgot to remove those lines. Will ve dropped in a future patch since the pin controller driver will not be included in V2 since it's not strictly needed to support SD boot. Many thanks, Andrea > > Yours, > Linus Walleij