From: Wolfgang Denk Date: Thu, 25 Jul 2019 09:34:18 +0200 Subject: [U-Boot] [PATCH v2 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module In-Reply-To: <20190725043934.30236-1-chuanhua.han@nxp.com> References: <20190725043934.30236-1-chuanhua.han@nxp.com> Message-ID: <20190725073418.8F64D240049@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Chuanhua Han, In message <20190725043934.30236-1-chuanhua.han@nxp.com> you wrote: > This patch add an implementation of the rtc_enable_32khz_output() that > uses the driver model i2c APIs. ... > +config DS3231_BUS_NUM > + hex "I2C bus of the DS3231 device" > + default 0 > + I know this is likely just an academic question - buit what happens if we have two such devices on different busses? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald Knuth