Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DBB6C433DB for ; Tue, 9 Feb 2021 17:26:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3049264DF2 for ; Tue, 9 Feb 2021 17:26:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3049264DF2 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hrhdQrVRbHrFWQJH7O4KGL0m8/YSNcT09RZg+mAXsqo=; b=z0er1PwajPRuBfd1j32pgzS/b K0r8yw4xwU8RqnY0brZi4mhumpfKR0OSq2Ey47flvR4PpJ2TyWcJKBNsq4D/Erz4uLGDbuQjZK5/0 vQCsrwW5FVSnjrPN7RwnHs5rBTEQVDH56ZAOuyE8FHJjEm7qZF8tpwsptrL+BevzUNCsz+AvBo1yX tKzh+bVQVbbN2mrCJa2CGFmBd0krPlkVwgGSNf66tOHIYlYhAXJ3AtFNqNxK3riFwhS5y5JrYDUHe uQv3dIcH0Rf0IYHIQllVzdXwNXfx9neR15nKqRI1bbyXlAYqlJfdqlh6QARhqnwKTCttopPt5cCVq HLLMXCVXA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9WlT-0006nQ-Fp; Tue, 09 Feb 2021 17:25:27 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9WlR-0006mk-5v for linux-arm-kernel@lists.infradead.org; Tue, 09 Feb 2021 17:25:26 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 119HPN1a107403; Tue, 9 Feb 2021 11:25:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1612891523; bh=PGiBVj7ZxxSOBH41lp1gwM+UHXCB9lUOWvJ8/ZxLbZM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=s17ebFsx4Sfm/dum1LUWorTTm5FTlnEJaEvjD7kDXhpJ35S2/VnIuw965HBy184ho eHT3V7D/Aif3hDSobi1Q/zpx78NU6PvfGHb+y1DBYF4OoBmLfU3EcUdXyb47iVXPpG hf8tvpreKYB6NXDikSrYy0uvT0fQH3mTOnPWQkR8= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 119HPNP1051330 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Feb 2021 11:25:23 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 9 Feb 2021 11:25:23 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 9 Feb 2021 11:25:23 -0600 Received: from [10.250.35.110] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 119HPMjV037592; Tue, 9 Feb 2021 11:25:22 -0600 Subject: Re: [PATCH 1/2] dt-bindings: hwlock: Update OMAP HwSpinlock binding for AM64x SoCs To: Bjorn Andersson References: <20210125235653.24385-1-s-anna@ti.com> <20210125235653.24385-2-s-anna@ti.com> <20210209170025.GA3927023@robh.at.kernel.org> <48f25fc0-5131-9821-d50d-7f4f7ef5815e@ti.com> From: Suman Anna Message-ID: Date: Tue, 9 Feb 2021 11:25:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210209_122525_619574_16582087 X-CRM114-Status: GOOD ( 21.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/9/21 11:19 AM, Bjorn Andersson wrote: > On Tue 09 Feb 11:09 CST 2021, Suman Anna wrote: > >> Hi Rob, >> >> On 2/9/21 11:00 AM, Rob Herring wrote: >>> On Mon, Jan 25, 2021 at 05:56:52PM -0600, Suman Anna wrote: >>>> Update the existing OMAP HwSpinlock binding to include the info for >>>> AM64x SoCs. There are some minor IP integration differences between >>>> the AM64x SoCs and the previous AM65x and J721E SoC families. A new >>>> example is also added showcasing the difference in the IP's presence >>>> on the interconnect. >>>> >>>> Signed-off-by: Suman Anna >>>> --- >>>> .../bindings/hwlock/ti,omap-hwspinlock.yaml | 26 +++++++++++++++++++ >>>> 1 file changed, 26 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml >>>> index ac35491a6f65..ac146c0d628f 100644 >>>> --- a/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml >>>> +++ b/Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml >>>> @@ -14,6 +14,7 @@ properties: >>>> enum: >>>> - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs >>>> - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs >>>> + - ti,am64-hwspinlock # for K3 AM64x SoCs >>>> >>>> reg: >>>> maxItems: 1 >>>> @@ -74,3 +75,28 @@ examples: >>>> }; >>>> }; >>>> }; >>>> + >>>> + - | >>>> + / { >>>> + /* K3 AM64x SoCs */ >>>> + model = "Texas Instruments K3 AM642 SoC"; >>>> + compatible = "ti,am642-evm", "ti,am642"; >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + >>>> + bus@f4000 { >>>> + compatible = "simple-bus"; >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + ranges = <0x00 0x000f4000 0x00 0x000f4000 0x00 0x000002d0>, /* PINCTRL */ >>>> + <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */ >>>> + <0x00 0x0f000000 0x00 0x0f000000 0x00 0x00c44200>, /* Second peripheral window */ >>>> + <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>; /* Third peripheral window */ >>>> + >>>> + spinlock@2a000000 { >>> >>> Why are you doing the whole hierarchy here? Don't do that. >> >> I added it because it's integration is slightly different and to help our >> downstream consumers. >> >>> >>> In any case, a new compatible doesn't warrant a whole new example, so >>> drop the example. >> >> Yeah ok, will drop the example. >> > > I was just waiting for my build test to pass before pushing this and a > few other patches out, will drop the example from the patch here. No > need to resend. Oops, didn't see this message in time. I have just posted my v2, and you can pick that up directly as I had to remove the last line from the patch description too. Thanks, Suman > > Thanks, > Bjorn > >> regards >> Suman >> >>> >>>> + compatible = "ti,am64-hwspinlock"; >>>> + reg = <0x00 0x2a000000 0x00 0x1000>; >>>> + #hwlock-cells = <1>; >>>> + }; >>>> + }; >>>> + }; >>>> -- >>>> 2.29.2 >>>> >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel