Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp876095imm; Tue, 15 May 2018 10:24:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo/TRVFKesZII/M2bOhG5S91BZvdhVnpLOutbYvozhm/ADnZW8fkisauV8Blk/8sJfUoy2q X-Received: by 2002:a17:902:22a:: with SMTP id 39-v6mr1882916plc.146.1526405081474; Tue, 15 May 2018 10:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526405081; cv=none; d=google.com; s=arc-20160816; b=gDt9Xmt2a5QalEWhJ5PfnHFBsM5PSHJo4/pUR3xknbsedHC2VP/CWFTR6u4MfSpJ9V ZJhIl0mPqUG2WOz8fwrPWowelqdsMCZcc3qxR5TuYHKN4IVNRlHp8bJv47bwvMDjKR7l y7uSILR2ArhbSf51TPpVWEUOBwCSE91ajYAhfgtN2P+IQSfDH2UK1l6i9p2I3bc02XU2 +eT29JPdBwN5muKHKZXjlKZykJ7eVlzpZLfEirFJIo+nlCncPzqQ/1YhBcU1HsY8Vv9q mcL9BKOrQJDiWBLidr8bJOcYOjbUTuomr6INXkXwr2dZ2++PYTsyQlWjid6E0nIeXmgq aTOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=YR+EAHgAQlsOPdXy0xGd9D8QRlneMoglPeT4XW0heyk=; b=bTmeYiHH7z+zjcGNvxZnq4YzkvluZJHilbsUku4kwHaRzIWDRsI2TJh9usRVcC9260 uBxRhTqe53PNo1fMdQrdJKV4fqhtrhFmNIcWBamNYEFYUCyr4ej5J62/+Tx+/bvPuObz N0bSW6vx/ghgDsV8hT9TsChfRQaeJem2MwB4M28QerMsy3tY78zht9AjwEY0HiRG01/u lOLaWp6Hl3580rHPCDyeU1H1YKCRyj6UHa4lBTu5Sg+Vqx56qV6NOIOUOKqyCBwbfr1t IP7dtBwCZ03cvvWHvFVIpR+qyh2V7Cd8gWMpSzzdy1bXXRZoGBsc2kLRIWqjJUhF1r+M zWmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n127-v6si352386pga.523.2018.05.15.10.24.24; Tue, 15 May 2018 10:24:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932203AbeEORX3 (ORCPT + 99 others); Tue, 15 May 2018 13:23:29 -0400 Received: from muru.com ([72.249.23.125]:42212 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932124AbeEORX2 (ORCPT ); Tue, 15 May 2018 13:23:28 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0B2D980BD; Tue, 15 May 2018 17:25:33 +0000 (UTC) Date: Tue, 15 May 2018 10:23:24 -0700 From: Tony Lindgren To: Faiz Abbas Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, bcousson@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, paul@pwsan.com, lokeshvutla@ti.com, linux@armlinux.org.uk Subject: Re: [PATCH 1/3] ARM: dra762: hwmod: Add MCAN support Message-ID: <20180515172324.GS98604@atomide.com> References: <1523181542-3770-1-git-send-email-faiz_abbas@ti.com> <1523181542-3770-2-git-send-email-faiz_abbas@ti.com> <20180501152615.GB98604@atomide.com> <20180515171459.GP98604@atomide.com> <20180515171808.GR98604@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180515171808.GR98604@atomide.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [180515 17:20]: > * Tony Lindgren [180515 17:17]: > > * Faiz Abbas [180515 06:05]: > > > Hi Tony, > > > > > > On Tuesday 01 May 2018 08:56 PM, Tony Lindgren wrote: > > > > Hi, > > > > > > > > * Faiz Abbas [180408 09:59]: > > > >> From: Lokesh Vutla > > > >> > > > >> Add MCAN hwmod data and register it for dra762 silicons. > > > >> > > > >> Signed-off-by: Lokesh Vutla > > > >> Signed-off-by: Faiz Abbas > > > >> --- > > > >> arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 32 +++++++++++++++++++++++++++++++ > > > >> 1 file changed, 32 insertions(+) > > > >> > > > >> diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > > > >> index 62352d1..a2cd7f8 100644 > > > >> --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > > > >> +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > > > >> @@ -1356,6 +1356,29 @@ static struct omap_hwmod dra7xx_mailbox13_hwmod = { > > > >> }; > > > >> > > > >> /* > > > >> + * 'mcan' class > > > >> + * > > > >> + */ > > > >> +static struct omap_hwmod_class dra76x_mcan_hwmod_class = { > > > >> + .name = "mcan", > > > >> +}; > > > > > > > > Looks like you're missing the related struct omap_hwmod_class_sysconfig > > > > entry for this with the rev and sysconfig registers. > > > > > > > > > > Sorry, I missed this email earlier. The MCAN module doesn't have > > > sysconfig registers. > > > > If there's no sysconfig register you should have no need for adding > > anything to omap_hwmod_7xx_data.c. We now have the dts clkctrl > > clocks, you can just add that to the dts node for the device. > > However.. My guess is there is somewhere a top level interconnect > target module that uses DRA7XX_CM_WKUPAON_ADC_CLKCTRL. And that > module may have multiple child devices. And I'm guessing the top level module with sysconfig related registers is named "adc" :) Regards, Tony