Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp823132imm; Tue, 3 Jul 2018 00:08:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2TaTm6UKAf51nn67brJ1aYtPkqDeul2AzjBuMrkVfbbaGQDfGcdYiJQwkgkqiGiVkjy1V X-Received: by 2002:a63:7007:: with SMTP id l7-v6mr19017273pgc.206.1530601737021; Tue, 03 Jul 2018 00:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530601736; cv=none; d=google.com; s=arc-20160816; b=A2dqpIDVsglaeuafGuGEU/lL93fteuF5AzSOnHScMmcgF0Y+azIfmw4goiy4CpAPca hYb3ciT39SAKbr/kg3AemIMa1m+ilObSSI7lwQ52Egzz/UX7iHsoFxtK30mhnX/tMEKQ 211qLzK0RKT7tgWswlfvr1GuRp4kPuRa7/dchJGnHXzQ+kXkEz4qgU0cYU9qR3OtMs/T QJ6e4t42DfQxIEiUgcKiGDQqpBuoarwUZpVuTHnGQIeIAXJDhC1P25dJhyHt0hYyDl4c lTTkO5M9jiK+YXybhd+64z4ySkJ/Zo6EIOJIX/7/R8/ZSNY9dB3TSJEPG0VyH40Yarq+ MEXg== 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=g2SUNXbob3dycwQjOMTtSp7v0GiBzq7p+0j2jXg9nCg=; b=0DrbWpB9q7fmqDU1ij+nSXsFdowQ+Ox5C7+QT8OprGnYqVlA1WZgtnIE4kc6tMLgzU eVgnUnOWCgjZOQUE1MFl/7bvbYr8os0oOOH5BvwBfIDmjJ5pck+aTMtcuvDJDpDXn1d9 3BLMGLMjxZ+pRJ/kn3F5mmiyeYRUQVO5SlKdek3n2Pta8Dr03GW/NIp0TdVIMfrmt+L7 vtVfP3uW7Pm+8mLIvkurTcwWtDclqaONG8db5hDGvlxtqyIjk3vUFDiAiWMpG+SRAhsu XCn5dG07OGbyFqWOAbaTISv2iyj3pnmwcRwCIcKWNXPoSkptGZgRKIdqXmHYnSITDWdr ntZA== 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 b7-v6si456157pls.405.2018.07.03.00.08.42; Tue, 03 Jul 2018 00:08:56 -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 S932338AbeGCHHt (ORCPT + 99 others); Tue, 3 Jul 2018 03:07:49 -0400 Received: from muru.com ([72.249.23.125]:49756 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932095AbeGCHHq (ORCPT ); Tue, 3 Jul 2018 03:07:46 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 13BB78047; Tue, 3 Jul 2018 07:10:41 +0000 (UTC) Date: Tue, 3 Jul 2018 00:07:43 -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: <20180703070743.GG112168@atomide.com> References: <20180606060826.14671-5-faiz_abbas@ti.com> <20180607073530.GH5738@atomide.com> <20180608062158.GI5738@atomide.com> <20180611060957.GN5738@atomide.com> <20180611062904.GO5738@atomide.com> <89d55b0b-fe9e-793b-2694-25755ac2bc15@ti.com> <20180611070332.GP5738@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180611070332.GP5738@atomide.com> 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 * 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? Regards, Tony