Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp841160imm; Tue, 3 Jul 2018 00:33:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIRAfabk1OgHL4Y9T1yRm1BgeskH8aMaGlGHek6oSUSN1ZxI9PnEYyVvr1XOtxnVQKrdZnh X-Received: by 2002:a17:902:a702:: with SMTP id w2-v6mr29260965plq.41.1530603232945; Tue, 03 Jul 2018 00:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530603232; cv=none; d=google.com; s=arc-20160816; b=fPKjPoMLuWrn0pGXbmzpb1lDM1Vi8GKhOyo1DzNOsrRvGewz/O1UprkOGBkYI3rIAH 1Xdah04w7t+32iqd2n4w5Y0DG/RIlfYxhILSZaapJ1rUw9X4ETgyKInJZRJAkBGv2rFU U/3cyVJhEIczGVAkT4Sib/rKvFyur+iedvlovekyTEoAeIaSrtWoFFwkWB9ix6ZRqvxh PKgD3GAsTotCGvXI07x2c8Je/N9T81lMnazbEFg0cZ1QSIlG2F7iOVItCDqigyLF+y0H mdwpWeFaUrnOJ4+1X/6hTndJz7qk1Xc8LBojdI5rkMF2a/m7r67z1nCC5G6Kpn/yiu2s Sadw== 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=c4VbTaRRs+rH9PzBFZ9nxpZ1h3HJnZ9jhoNcYZoMpxY=; b=B/S/sbEVh0CMeQ/Tmq3aVyTPT/nK6LWMEUagRdYdr3q4Pk4z2+p/I06WzKY0lABXMm 42Y3zopdWz0WU/oEuJUCKflZEcxuM8/ASSOoHlLYdzBe8kYpEpLFykufjo5XGd3bwynR zI4DD6REZJ1VKjzjZDVFkKsbMBv7oGhcDBXx0qhvgZGMM8dZ+diEVHc00b6Sn45DV9hi m9Ehgbqc7OKrjb1yhPTi9m9QyFG4HSFPSQs+tWZDM5IDaaaLOXOK2l8tfGeOaQ+aGyEM nJVKmPvX+ora6kXRtAQjyOR+Xhf78XktczKrc8vbmpzl/bdsF2xJZYotXiCWtsxr725V hFdQ== 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 w25-v6si511871pfa.359.2018.07.03.00.33.38; Tue, 03 Jul 2018 00:33:52 -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 S1754566AbeGCHbp (ORCPT + 99 others); Tue, 3 Jul 2018 03:31:45 -0400 Received: from muru.com ([72.249.23.125]:49850 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754218AbeGCHbn (ORCPT ); Tue, 3 Jul 2018 03:31:43 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 7658C8047; Tue, 3 Jul 2018 07:34:38 +0000 (UTC) Date: Tue, 3 Jul 2018 00:31:39 -0700 From: Tony Lindgren To: Faiz Abbas Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, mark.rutland@arm.com, paul@pwsan.com, t-kristo@ti.com, robh+dt@kernel.org, bcousson@baylibre.com Subject: Re: [PATCH v3 4/6] bus: ti-sysc: Add support for software reset Message-ID: <20180703073139.GN112168@atomide.com> References: <20180608062158.GI5738@atomide.com> <20180611060957.GN5738@atomide.com> <20180611062904.GO5738@atomide.com> <89d55b0b-fe9e-793b-2694-25755ac2bc15@ti.com> <20180611070332.GP5738@atomide.com> <20180703070743.GG112168@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Faiz Abbas [180703 07:31]: > Hi, > > On Tuesday 03 July 2018 12:37 PM, Tony Lindgren wrote: > > * Tony Lindgren [180611 07:06]: > >> * Faiz Abbas [180611 06:48]: > >>> Hi, > >>> > >>> On Monday 11 June 2018 11:59 AM, Tony Lindgren wrote: > >>>> * Faiz Abbas [180611 06:28]: > >>>>> Great. I thought I completely misunderstood you. But I don't see what > >>>>> adding another function will accomplish. A QUIRK flag used in the same > >>>>> function would work well enough> > >>>> Fine with me as long as the function stays simple for both > >>>> syss and sysc reset. > >>>> > >>> > >>> > >>> In general a reset status bit being in sysstatus is the norm and it > >>> being in sysconfig should be the "quirk" for which a flag needs to be > >>> added. What do you think? > >> > >> Sure makes sense to me. > >> > >>> As an aside, naming bitshifts by the name of the platform they were > >>> originally added in seems weird. There should be some generic mask > >>> saying "soft reset is the 0th bit". Currently I am using > >>> SYSC_OMAP4_SOFTRESET for a dra76x module. I guess it depends on how many > >>> different sysconfig types we have. > >> > >> Sure we could have a macro for that. > > > > So what's the conclusion on this one? Are you going to do one > > more version of the ti-sysc driver patch? > > > > Yes. I have just now been able to get back to this. Will post a v4 by > tomorrow. OK thanks! Tony