From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968100AbdAEN7m (ORCPT ); Thu, 5 Jan 2017 08:59:42 -0500 Received: from foss.arm.com ([217.140.101.70]:51496 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbdAEN7e (ORCPT ); Thu, 5 Jan 2017 08:59:34 -0500 Date: Thu, 5 Jan 2017 13:58:37 +0000 From: Mark Rutland To: Chris Packham Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 4/5] arm: mvebu: Add device tree for 98DX3236 SoCs Message-ID: <20170105135837.GC25333@leverpostej> References: <20170105033641.6212-1-chris.packham@alliedtelesis.co.nz> <20170105033641.6212-5-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170105033641.6212-5-chris.packham@alliedtelesis.co.nz> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 05, 2017 at 04:36:40PM +1300, Chris Packham wrote: > + internal-regs { > + coreclk: mvebu-sar@18230 { > + compatible = "marvell,mv98dx3236-core-clock"; > + }; > + > + cpuclk: clock-complex@18700 { > + compatible = "marvell,mv98dx3236-cpu-clock"; > + }; > + > + corediv-clock@18740 { > + compatible = "marvell,mv98dx3236-corediv-clock"; > + reg = <0xf8268 0xc>; > + base = <&dfx>; > + #clock-cells = <1>; > + clocks = <&mainpll>; > + clock-output-names = "nand"; > + }; [...] > + }; > + > + dfx-registers { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>; > + > + dfx: dfx@0 { > + compatible = "simple-bus"; > + reg = <0 0x100000>; > + }; > + }; What is this dfx-registers, exactly? It has no children, so why is it a simple-bus? >>From the above, and the patch adding the corediv driver, it looks like the corediv-clock actually lives in this block, so I don't understand why the corediv-clock is sitting in internal-regs with a sideband reference to dfx. Thanks, Mark.