Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp803739imm; Thu, 31 May 2018 09:38:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUPILvcRVtL3jLebREHsbcIhxdghqkkRZAm2ftV8fNM8/VzBdwxPKTTYDWGjMpFDlcH2EH X-Received: by 2002:a65:628a:: with SMTP id f10-v6mr6122699pgv.6.1527784733598; Thu, 31 May 2018 09:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527784733; cv=none; d=google.com; s=arc-20160816; b=SjImQeWbZ+HSsLtJFPjY4rFpqJ59ObRlO3nsll6SMrODrTEY358CFL6QjENzE7jdCt 9FphLjS6qkYeNd/W5HJvB1XVuxuEdhGfBChCuCybW9ooICXheZ+DdZu+36TbJIdH5gXo eOSbiVsSsFFKPIwC+Bc/gt6UqZ0sdV2de7TuwziRmkBFmYgzAdAO65jKO9McLxYW9E12 4Ele+0SgKx7frrMS90c39A3gfbsZrHUdJRyCfViOFx2SJXj1ANxF2eDfKc1DaNagVcnY Tk2vMQyOV+2K6VHPqXHpsyV84foFlcrT3cBjBQrEaSHTeGzO1vO88z72shhu5cd0yyD6 kC1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=0V+5S7a/IKpZUGPeb+ih4fJWSjSUii4e3ZDzK+FlC6M=; b=YIsuuH8XZ7w+0rfixNRBt3NksKIDKU8XoNeHnqIIwfbOWu3wnEYCnDULn92sggmw2l oCKzQNWEbosh2TQud1Hsc65yK7ql2KL7EZxJtaNbrKP9YJRQ2C4YOlKov518th0jXdGn 47ajtym5LN5C2NF5ygNyBdUjI+aVRHWWS3O5waJtUxkPpNb+kC8Ulh72TRPu2id3lxuE +MSqgCA+OYrs3KYOEfdZ79egdOTwpfn9dyRk9l3g1vfxEX0TVGSJJXUvtpbZx+4Zfxy6 sq/w84zUOGkPHM2BliYt3JRdWDO7IRwyObJMxjkGHrYTrSDyooBzCzJCTMpSFqeLb86f lcPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=re9k8eNi; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3-v6si39421669pli.324.2018.05.31.09.38.39; Thu, 31 May 2018 09:38:53 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=re9k8eNi; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755658AbeEaQhA (ORCPT + 99 others); Thu, 31 May 2018 12:37:00 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:20356 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755562AbeEaQg5 (ORCPT ); Thu, 31 May 2018 12:36:57 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4VGaaR4028336; Thu, 31 May 2018 11:36:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527784596; bh=0V+5S7a/IKpZUGPeb+ih4fJWSjSUii4e3ZDzK+FlC6M=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=re9k8eNi0i5ueR1iKpvgC+BxXnBepOma8MeUY62g1TP7NXhxmoSPOq93eVngimwkd c/qKTlwWOaRg5Hx/dCXTXXVy3WfCzrZ3dTXnH5UZSVG7Z6LBdeGTyGeGDGPb600o6n c351GQjANxq2auw0HfIIuQjJP9+cvkQBJjJb1Ax0= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VGaakR015788; Thu, 31 May 2018 11:36:36 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 31 May 2018 11:36:36 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 31 May 2018 11:36:36 -0500 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VGaXtW017099; Thu, 31 May 2018 11:36:33 -0500 Subject: Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN To: Tony Lindgren CC: , , , , , , , , References: <20180530141133.3711-1-faiz_abbas@ti.com> <20180530141133.3711-6-faiz_abbas@ti.com> <20180530150402.GE5705@atomide.com> <2361da91-659d-1aaa-0ab8-d1473bc3a71a@ti.com> <20180531134507.GK5705@atomide.com> From: Faiz Abbas Message-ID: <1effa8c0-6749-faf5-3f09-9f51dc55532f@ti.com> Date: Thu, 31 May 2018 22:08:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180531134507.GK5705@atomide.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thursday 31 May 2018 07:15 PM, Tony Lindgren wrote: > * Faiz Abbas [180531 10:22]: >> On Wednesday 30 May 2018 08:34 PM, Tony Lindgren wrote: >>> Looks good to me except I think the reset won't do anything currently >>> with ti-sysc.c unless you specfify also "ti,hwmods" for the module? >>> >>> Can you please check? It might be worth adding the reset function to >>> ti-sysc.c for non "ti,hwmods" case and that just might remove the >>> need for any hwmod code for this module. >>> >> >> If I understand correctly, this involves adding a (*reset_module) in >> ti_sysc_platform_data and defining a ti_sysc_reset_module() in ti-sysc.c >> similar to ti_sysc_idle_module(). Right? > > Well try moving "ti,hwmods" to the module level first. Then reset will > happen with enable. Ok. Let me try that. Thanks, Faiz