Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp476990lqp; Wed, 12 Jun 2024 07:19:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPAnLVPYmTSMhWjTDE3UioMY+rB4mEPIt2MoRyEZ5I8RvkXFCzinqmKzg+PKZjrn8qbjDOidiP17P7o6NpR5yXBQgdHnPfKdqjIktxbw== X-Google-Smtp-Source: AGHT+IFqRW0L1b9bQsCZfAvMdGBeHDx/ViIvPuxv9Uzh+PToiNLDijyKTvh9OBrIiDbttupS3q16 X-Received: by 2002:a05:6a00:1487:b0:704:3438:f86b with SMTP id d2e1a72fcca58-705bce64576mr2063708b3a.18.1718201962259; Wed, 12 Jun 2024 07:19:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718201962; cv=pass; d=google.com; s=arc-20160816; b=x3sw+Hk6bbQZ9/IawRJar4moHrhYzUXy/vIpKk70cz2Ks7xYa/0xSk00YY3j0vSJ4f 5CyZYiPfHv77qO+jj199QXh7SEtxm4Uc1aSvkDMsJ6edPQ7T0PDcar/tNGQgMqmLK4xy fC2BQX4w/SmspNo5yi43+4N/neE5VdAq7c4sFpVIyqSAXD+WniY4NtL1+mPh17E3nYNQ oM9hBEmqtQwmIw3wyeYTcXcobCy1JhAXMj+ExUQygUiVMH1CUfIUMoFicAu3q3ijCHX4 hOyVDURVEk9Hq3ngd6wAg07hBF/wpDyzarQbqTmM673ZbYiBUANeu+KOXSMIWt6BhTzY 3iiQ== 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:message-id:subject:to:from:date:dkim-signature; bh=rXaeEvMJC2omXN2DimdPStRgOuZ+6rzmp5OGMEucjLk=; fh=rE7xUCdWFUWSe4N4Cz+aComxgBHry1NLjQObj1vsl7M=; b=bJeNohzwoe/SbxkHD/2nsOzg4fFGiHzQwONUutu9fjDFe2v9PcVeK+bUC/fPGXaw5I HnCdurcx7EsMjiHr3QsKff9ThwJQHPIhaeHXIzBSwYFyj6k5/4OYTM3TPO5uyWSdA3xX UQ5qtQ46j6nSZhOczcS9IY34yS3YdSHrc2Qs8TwafK4J+s1en3u1X5+qCW6EureCeH8B BxM8ZrNDQ/4eWqAIXxDdb8CPUe67rTDCTqSq1RnNKRAI07JapPfrwlPe9o9Ts3ZMfCz1 s/RgPeLsQSpwOvjTLloOEq89Al+ue33lDAdIcQxSvBVrXrXApQ1pohkj2OYx0kCiQ0mI Dmjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BTmhKbuc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e707fa08bdsi8403022a12.61.2024.06.12.07.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BTmhKbuc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 B5BE8B24C45 for ; Wed, 12 Jun 2024 14:02:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF95E17DE0F; Wed, 12 Jun 2024 14:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BTmhKbuc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 18DFC171E70; Wed, 12 Jun 2024 14:02:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718200934; cv=none; b=rprD+uzmYJRVDinAavaNFIzETn+2+9Wca1web/IfPaoo6PhuEkaEADFplcrf6hVNVkhCU/w2BeHrfEhQ5nTXcBONHIQQjI9sNV8MuwhdwhoFSqa4nDF7fWEt0gm56f+XLErZzv45tXyxc2eqbELyrxYJ/WyXMFrPZNx2qfeDILQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718200934; c=relaxed/simple; bh=eX92Qy5bBbTvqj1rZW1BZWOEF8jJThi6VroQb/e/KDE=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CadSyP/ovRoKlzXQ/22a+OeT8OfExxLlfZ1S+R2ESLR5gTJ+IbRGsCJnKUNmsptYVYZkNG1ToOadQ02EjpmZ/BXRsVTELU/n2i6hunn0Tl8whE2VyoUSAtokJqTYws76bpm3sfxblyPfr0DPtOoIspNGMVVuoFFN5fMq+7mk2vw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BTmhKbuc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F57C116B1; Wed, 12 Jun 2024 14:02:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718200933; bh=eX92Qy5bBbTvqj1rZW1BZWOEF8jJThi6VroQb/e/KDE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=BTmhKbucnDuEtueX2mqWsxi3l0U+qHJnfPaoCg30YwnXvATwGTaAx34g+62SNl4hZ /Yznn88XbrM/n7iZjZXZbE18sVs6wM5F5KaREoGPwCIRB6H+DTAUVBOBoyMAnxHAYo k4nU7z7BXjwTQWMa2L+z7VW5vVA8t5CyhMfWXFIjjTgIe/RV8paY3Ti/tfFFv2UfxQ US34jUqyhWXVFaFYel1To6uXVmFjiTpBu4bHvGAx5WzN0wR9id1uNhVW5BauMaD08d rQJXAFtfl/FO2ufhGj+l6KimCGBB3EM2avaynF2ifZzIMgxacVFFgdIqydGImQl0CO mFzs9Knngkohg== Date: Wed, 12 Jun 2024 15:02:08 +0100 From: Lee Jones To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Stefan Wahren , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Dave Ertman , Lizhi Hou , clement.leger@bootlin.com Subject: Re: Raspberry Pi5 - RP1 driver - RFC Message-ID: <20240612140208.GC1504919@google.com> References: 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 Tue, 11 Jun 2024, Andrea della Porta wrote: > Hi, > I'm on the verge of reworking the RP1 driver from downstream in order for it to be > in good shape for upstream inclusion. > RP1 is an MFD chipset that acts as a south-bridge PCIe endpoint sporting a pletora > of subdevices (i.e. Ethernet, USB host controller, I2C, PWM, etc.) whose registers > are all reachable starting from an offset from the BAR address. It's less of an MFD and more of an SoC. Please refrain from implemented entire SoCs in drivers/mfd. Take a look in drivers/soc and drivers/platform. -- Lee Jones [李琼斯]