From patchwork Mon Dec 2 22:05:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11269983 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 58C13930 for ; Mon, 2 Dec 2019 22:07:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 357342070B for ; Mon, 2 Dec 2019 22:07:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZKO9nJ+X" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 357342070B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EWh0v3x9J77x7IYEImm2psotvL0DSKxH5iDLUsdVcl0=; b=ZKO9nJ+XMAFKQU s/zr0mbGUSOmarwACc7YnHi3DTFj3McjUfWlHM7Pf/lKXjwOIyD1YpCYxvIyCvRvC5rdVadgBXwAL qj5htnpHZwAkXnEElbkORY4iHSuMt1Az+p4boVIopeujH4Ojv14HNqbSUBmkD6e3kPfr6lFttLqHv ahQG4uwSVEhytDKyt68XWBKqMrk+Px/sWycDvwlh80Vid8jOFxOjf0LUc2MQ4pC7gVl3nC7MiePO9 A5lPb5uWtztk98XUvREeTvC81YcnL8rC29GQ7Nb3vDR783ryO2EDCfAyUSCppUY1zieUhjGt3EgcV culJK9E/QjKiKLg54GGw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ibtqN-0000iX-CW; Mon, 02 Dec 2019 22:06:59 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ibtpF-0007uu-Lt; Mon, 02 Dec 2019 22:05:51 +0000 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 09520B2F2; Mon, 2 Dec 2019 22:05:47 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [RFC 5/5] arm64: dts: realtek: rtd139x: Add SB2 sem nodes Date: Mon, 2 Dec 2019 23:05:35 +0100 Message-Id: <20191202220535.6208-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191202220535.6208-1-afaerber@suse.de> References: <20191202220535.6208-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191202_140549_879013_A319FE47 X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Mark Rutland , devicetree@vger.kernel.org, Cheng-Yu Lee , linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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>; + }; +};