Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2020090lqb; Mon, 27 May 2024 05:32:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgDiZjdodlrfmIYQKnxhues8whAqGSSs6axS44UE4xAlpEaSQHQACWRUdY7Kaej9SKZgPNc7aXk/21hF3bCVbiLusQ1xUulCMk8MCR1A== X-Google-Smtp-Source: AGHT+IG0MMbd/7SzU+0Hhn7QJL5rRMjkVrB+xkWXuEo2R6wC/3VnVwFerYcK1/C0YzKSRlGyYRFg X-Received: by 2002:a05:6a00:28cd:b0:6f8:c476:a4c4 with SMTP id d2e1a72fcca58-6f8f2c70b84mr9835804b3a.1.1716813128985; Mon, 27 May 2024 05:32:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716813128; cv=pass; d=google.com; s=arc-20160816; b=KdpAzxGahevBPnSwwtQscKwdImGHizsQh0U4I/5rXVAFG6PQtHYpJ43R6P/rBJS0wS 5c0D1PbkUN6CtyttVUicNvOJB1WsUYcvXRepsgDKyHHm1CIrdaSem2Fj05A2f9OfJeKt Q+Aa59iNmdQueTTgnfnk7SO/wWssetz2F9rNHR5wWNSiSKcvhrEztrrByhOrZoPnbtBs 3ThZovc1FUdaGqRZ6B4fSrIksOxqk8FI0LMESAb19v97WpRBY9Wr7peowPy6RkNMsdmN srdibcsl1ze+D99bD28h1YF7MxbIsiTESD/KOI0uNJKXuHI4S9n89hpq3wviUvUW2gW0 fELA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kd6RpnwQXlz9AhLZYTXt0D56sE1Exro3hPX38OnaeBg=; fh=kyQuXYWpZDOxZ32ErVgUgxZw6BidKsijgpJOFfygsZE=; b=ocZWdFfGRHGhntGXHn/XfZAfWuy01nWM75NPohOFB6GqT7E9DsVbabRrf7yYpXdwYM vYrQ/Tx3ZcCs8wF376nqdGyTAMd4Cithtm02aGT2VU7BgnWMA3Rm1OdyJaXM549HMfKa Pb3a5vyBRGyv+z3vB/SF1WTFjbPBtrPW4uj38sI1Hmwie9GL4i8o8vxaPc+REIcy3SUA pnLqqI0Oberg983arn1oXCPxQh5WohgfPThjo9iI1a6yp7eqzdewbOCYaAT+/MefXCUT 9DVTxzgP/in/49XT8jgzLjibvPgSkRPe8SAo2jezW7NX12doQenSc4NY/hVN3lMEwkB0 igAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PRWCaEMR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190576-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190576-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 d2e1a72fcca58-6fb6851642dsi5066456b3a.128.2024.05.27.05.32.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190576-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=PRWCaEMR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190576-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190576-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 9DB97B2480E for ; Mon, 27 May 2024 12:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A4BE15E5CB; Mon, 27 May 2024 12:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PRWCaEMR" 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 3DE321581E2; Mon, 27 May 2024 12:24:47 +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=1716812688; cv=none; b=C/W6OtGYDdBf44D+dptZui4LYC2bAUF4Z+VOUYAsc2XkGxbPS/QbCOD0LP5Up43uv3nYyEwbIADs3c8qTWYA3l/MyIRGHupkG9gLaEps+N5BIHa4X4qx4+Z9azFvJUIyRRNH3zS+Sa9/PGh4f5sYVs8wbD9pKNWLDw0BLIVIfOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812688; c=relaxed/simple; bh=Q//0HsM9HclPdFtHaPPFFpwPR11i2osKYxrbE3qDEo4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sadm0ezpaAVK3/X7+h3N1q1+T2cnGAldNETQ6+7Jm1Coe/Gzj70q9M9y6l07geCFnTbJYqwkIeBwCPeSy4VLZG2Yw+F479qPrAwrfHHYrW+yaOkbU141C6stvHN62HNRVKfUCIgJAvK8BAt4EAzDuqxq19QPY9N8eK62LFt2e50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PRWCaEMR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9351EC32781; Mon, 27 May 2024 12:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716812687; bh=Q//0HsM9HclPdFtHaPPFFpwPR11i2osKYxrbE3qDEo4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=PRWCaEMRJCgr16OqZApaF7V8fRE3rQtmTZ3GAfsoogJ8PRY1mLaiNIvka+Ec4EJB/ hHMFzM9kXrPiqOgs8g6mmMIveoNKKTGEn25X4yXDwhwDQEBBM+6HvlV7NIjqzza1kU ksdN4bGnj8BT59GqK0k8cbAABx7FSlJ0FqR6Q/CEhiRs7OdJnBiT0TrDukBw9+A94R FMq/gOCg5vpps5pv/k20bFLXI1ILOQH3LeIgx89OWf/7rMmrkWbWYE6XDfiiQt+qdp eiDARloefjp6yRoBOSK+oZvtIC9NDrXgqWd+gOrPNbmtB9fBZPhGknwxmMPglS25YO 1aZWefvFAzXfQ== Message-ID: <037c503b-39dd-4fd1-bc67-0b817c9103ce@kernel.org> Date: Mon, 27 May 2024 14:24:40 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/2] dt-bindings: PCI: microchip,pcie-host: fix reg properties To: Conor Dooley Cc: conor@kernel.org, Daire McNamara , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20240527-slather-backfire-db4605ae7cd7@wendy> <20240527-algebra-pencil-c12962d62468@wendy> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1In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dnRBY fv0= In-Reply-To: <20240527-algebra-pencil-c12962d62468@wendy> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/05/2024 11:37, Conor Dooley wrote: > The PCI host controller on PolarFire SoC has multiple "instances", each > with their own bridge and ctrl address spaces. The original binding has > an "apb" register region, and it is expected to be set to the base > address of the host controllers register space. Some defines in the > Linux driver were used to compute the addresses of the bridge and ctrl > address ranges corresponding to instance1. Some customers want to use > instance2 however and that requires changing the defines in the driver, > which is clearly not a portable solution. > > Remove this "apb" register region from the binding and add "bridge" & > "ctrl" regions instead, that will directly communicate the address of > these regions > > Fixes: 6ee6c89aac35 ("dt-bindings: PCI: microchip: Add Microchip PolarFire host binding") > Signed-off-by: Conor Dooley > --- > .../devicetree/bindings/pci/microchip,pcie-host.yaml | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > Acked-by: Krzysztof Kozlowski Best regards, Krzysztof