Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp576136ybl; Mon, 2 Dec 2019 15:16:26 -0800 (PST) X-Google-Smtp-Source: APXvYqyzaHtxzbSLgRWVD4E24R4Jwp5GY+M11WSdSDGUkKVX2zZgzwcEKzl1ApPL2GWzqXzI++XV X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr2276161ejc.290.1575328586318; Mon, 02 Dec 2019 15:16:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575328586; cv=none; d=google.com; s=arc-20160816; b=0FsuknIT7BDkMbytUWQyTmJQaQyH19k3rwJycsisvc0Hy7jrWnW9SKqFO0edf9Gvkr 75xPlhfPOz5Ft2BhEVMUKU5XeSagk4j9FUKrRWm8fsmERHXzslMcF9Zg092JffxyHF0G f4mZvCYfGty9z9X2cuKWuc8A16N8pvlM8gp59vkWRf9hVubjAUjYggglilE3MqwtJN8l Bj8iNKYtjZpLsHuJj1Sg9zfAvMoaG4qZyx4smLo8tyniTphzcQ6y9nZaQ/Khph3SuLkO JuLpqPPJVkDY3uoj2D0Gt32BU4Jmm1LTA9K+ArkFOJXWcp63iXVw5aMWCIyGbdTf0g0t YByQ== 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:organization:from:references:cc:to:subject; bh=aAQUEMROpwcs70+sKtAwEGaviQfGobqzcLT8JTw5AIA=; b=jG0eF20n9Ajc5okRDc8/34JaVpTaPUffRd8eJOGd468XAPVD2aXXuq24f8CvUnvHmw 2Em0gOSZ6oxV4j379IE/5WHcIiCh0HOl+XFUm9WQYwXWOAowd/238hMNNus4dzdRBLIE hedAh9aGC/Rk9CAnbdcriFVzjtC33zjpA/eZbtmonAnE3gDxwAqQkPbLbGWc42rg09OS ydKYnxevLcOsFofiXpzDme54t+FD27cbMVovb7TPKRbok7yrjWSjxJ7mSwbFCGX0AGpq 0KOvlX7/e5vb0F1qpgk9BlewsDIDd3kWlC+/eChdGSlxbAKyJPmE0DzGxC3sCTW1yt7t +HrQ== 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 q16si747154edw.406.2019.12.02.15.16.02; Mon, 02 Dec 2019 15:16:26 -0800 (PST) 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 S1726105AbfLBXNB (ORCPT + 99 others); Mon, 2 Dec 2019 18:13:01 -0500 Received: from mx2.suse.de ([195.135.220.15]:35904 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725834AbfLBXNB (ORCPT ); Mon, 2 Dec 2019 18:13:01 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 49046B331; Mon, 2 Dec 2019 23:12:59 +0000 (UTC) Subject: Re: [RFC 5/5] arm64: dts: realtek: rtd139x: Add SB2 sem nodes To: linux-realtek-soc@lists.infradead.org, Cheng-Yu Lee , James Tai Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org References: <20191202220535.6208-1-afaerber@suse.de> <20191202220535.6208-6-afaerber@suse.de> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: <15898d07-ba67-f790-723d-33b0fe5363c8@suse.de> Date: Tue, 3 Dec 2019 00:12:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191202220535.6208-6-afaerber@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 02.12.19 um 23:05 schrieb Andreas Färber: > Add DT nodes to SB2 for hardware semaphores in RTD1395 SoC family. > > Signed-off-by: Andreas Färber > --- > arch/arm64/boot/dts/realtek/rtd139x.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/realtek/rtd139x.dtsi b/arch/arm64/boot/dts/realtek/rtd139x.dtsi > index a3c10ceeb586..586b05350274 100644 > --- a/arch/arm64/boot/dts/realtek/rtd139x.dtsi > +++ b/arch/arm64/boot/dts/realtek/rtd139x.dtsi > @@ -191,3 +191,17 @@ > status = "disabled"; > }; > }; > + > +&sb2 { > + sb2_hd_sem: hwspinlock@0 { > + compatible = "realtek,rtd1195-sb2-sem"; > + reg = <0x0 0x4>; > + #hwlock-cells = <0>; > + }; > + > + sb2_hd_sem_new: hwspinlock@620 { > + compatible = "realtek,rtd1195-sb2-sem"; > + reg = <0x620 0x20>; > + #hwlock-cells = <1>; > + }; Forgot to mention: These last 8 registers (0x20) are a guess, untested. @Realtek: Can someone please check whether RTD1395 has the same nine sem registers as RTD1295? Similarly, this series is lacking a patch for RTD1619 because - same as for RTD1295/RTD1395 - BSP DT only shows the first one (cf. coverletter). Same issue for RTD1319 while at it. Thanks, Andreas > +}; -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)