Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp248343imm; Wed, 4 Jul 2018 22:56:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdwABnRUWPCT4DUk03lk6PzciMDTsfiookD7kX3k0PB2IJps/syPT5OG3S3DqpNPaHTYPUE X-Received: by 2002:a65:5545:: with SMTP id t5-v6mr4271406pgr.157.1530770164881; Wed, 04 Jul 2018 22:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530770164; cv=none; d=google.com; s=arc-20160816; b=TcYXFqQ2pdP25wcYUyqfPqjNpmk6DUQUYDEbKXs49m6Gwl1E+2YDaUkciL6c9WR5Ge a5H0u04+Vt6cK1vx49NiYQ1MxCRSEEuqqL/XnKAzNtfsL8M+Up5/kj5i5AWNSHJg0iBQ c5+buSKK4i0IKNkGJcnoA7F7cxYV9JfbObLgSojNgrEByzFmEY5ZiIj4ywcxfXbN18Wg nryxlEJc4d1cwPqEgQv/u4PE6BC60MsRLlgg74Jf700895YGJbVfFg2Oya1E0KC5xlLD 1jhLSXTTHIZTnyqXApi0fRl5f4ag6DQ4xkKPjRpUMeswaTdV+rMxfmH2joY/jbi3b0uC YZNA== 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=BbARGsDGwe8An5P0TFQoFXDWQ9AJDQFFwRindlySl/w=; b=Kkj/cX2W9LcvXBpBmEk+nRFw0d3s3TPlzvOUz1BWXPh74U483eiVNj7r7O/lBaGaOA dsEZeq5eCuvWsFv4KJ0qKU4yIidJL3dJcOWv2NoXR/aX7nyAGI6sCT9WvnkbP+WniZ5y nR9exhDBjQnlypBVeBoP3UeG2RCLrC9KwkSSvk0xyTPtn7XVjr5etdXn2fXy8kDCOP0Y WuyFOm+C4W6enWsbvBgZaUex8Z10bJNV2ps8QqaTOSVtYyLFScg0oIOpjTdg2RoKXgzF 3YlYtt2S1JMZ66e5u3pcQGu1XVGTjroRU7OI3IUmUlI6IvB86O0ApY/LcrJMI3y+UR1/ j58A== 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 98-v6si5016029pls.430.2018.07.04.22.55.50; Wed, 04 Jul 2018 22:56:04 -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 S1753056AbeGEFzL (ORCPT + 99 others); Thu, 5 Jul 2018 01:55:11 -0400 Received: from muru.com ([72.249.23.125]:50176 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeGEFzJ (ORCPT ); Thu, 5 Jul 2018 01:55:09 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id F0DDC80BD; Thu, 5 Jul 2018 05:58:06 +0000 (UTC) Date: Wed, 4 Jul 2018 22:55:06 -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: <20180705055506.GI26255@atomide.com> References: <20180611060957.GN5738@atomide.com> <20180611062904.GO5738@atomide.com> <89d55b0b-fe9e-793b-2694-25755ac2bc15@ti.com> <20180611070332.GP5738@atomide.com> <20180703070743.GG112168@atomide.com> <20180703073139.GN112168@atomide.com> <1138704c-b7a4-391f-3404-e1bd25a4a0ff@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138704c-b7a4-391f-3404-e1bd25a4a0ff@ti.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 * Faiz Abbas [180704 13:37]: > After taking a second look at this thread, I don't see anything big to > be modified. > > We both agree that "reset status bit in sysconfig register" is the quirk > case which can be added once such an IP is discovered in ti-sysc. Yes agreed. > All I need to change is SYSC_OMAP4_SOFTRESET to SYSC_SOFT_RESET_SHIFT_0 > for better readability and rebase it to the latest mainline. Let's not change SYSC_OMAP4_SOFTRESET as only the ti-sysc driver needs to know that and it can be set based on the compatible. How about replace ddata->cfg.quirks & SYSC_QUIRK_RESET_STATUS test with just ddata->cfg.syss_mask test in your sysc_reset()? We still need to set SYSC_QUIRK_RESET_STATUS too for pdata callbacks. Regards, Tony