public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ryan Chen <ryan_chen@aspeedtech.com>
To: Heiko Schocher <hs@denx.de>, Ryan Chen <ryan_chen@aspeedtech.com>,
	"Aspeed BMC SW team" <BMC-SW@aspeedtech.com>,
	<u-boot@lists.denx.de>, Simon Glass <sjg@chromium.org>
Subject: [PATCH v3 2/2] arm: aspeed: dtsi: add reg for i2c
Date: Mon, 30 Jan 2023 14:19:25 +0800	[thread overview]
Message-ID: <20230130061925.3467831-3-ryan_chen@aspeedtech.com> (raw)
In-Reply-To: <20230130061925.3467831-1-ryan_chen@aspeedtech.com>

The i2c driver have global register that i2c bus use
ofnode_get_parent to get parent register address.

Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
---
 arch/arm/dts/ast2600.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi
index 8d91eedc17..beabcf14f8 100644
--- a/arch/arm/dts/ast2600.dtsi
+++ b/arch/arm/dts/ast2600.dtsi
@@ -681,6 +681,7 @@
 
 			i2c: bus@1e78a000 {
 				compatible = "simple-bus";
+				reg = <0x1e78a000 0x1000>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				ranges = <0 0x1e78a000 0x1000>;
-- 
2.34.1


  parent reply	other threads:[~2023-01-30  6:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30  6:19 [PATCH v3 0/2] Add ASPEED AST2600 I2C new controller driver Ryan Chen
2023-01-30  6:19 ` [PATCH v3 1/2] i2c:aspeed:support ast2600 i2c new register mode driver Ryan Chen
2023-01-30 15:50   ` Simon Glass
2023-02-13  5:50   ` Heiko Schocher
2023-02-13 14:48   ` Heiko Schocher
2023-01-30  6:19 ` Ryan Chen [this message]
2023-02-13  5:52   ` [PATCH v3 2/2] arm: aspeed: dtsi: add reg for i2c Heiko Schocher
2023-02-13 14:48   ` Heiko Schocher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230130061925.3467831-3-ryan_chen@aspeedtech.com \
    --to=ryan_chen@aspeedtech.com \
    --cc=BMC-SW@aspeedtech.com \
    --cc=hs@denx.de \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox