From patchwork Mon Dec 2 22:05:34 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: 11269979 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 B097E921 for ; Mon, 2 Dec 2019 22:06:31 +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 8EF052070B for ; Mon, 2 Dec 2019 22:06:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BWVtbTAp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EF052070B 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=gMAcVLsWeAisxSQtlqBQsbXvfQLZkgbcFN0ea/amHrY=; b=BWVtbTApxJ4ngK qURx4Oim0k1dd+4jsmrCVrKEiMbK9gt7sCyPhBWcch+7diigVwimoENVLcMVSwWWb0/1xJ+oXEy9r eU3Iy2ph+2wmkKb1uW4Ko3IKsA5TEKGiBpOc+K2loAe3dhGqIHsUm3dLrSlg6MkyNu7RIj1MFCZMo sqjb6gM/zchnQXtWRGBa9hbVJIxv0cJQpNBl0+J834T8qSw2Pj3v/kA9qnB8sqOTunLckmN88zIyC 6u8ajQrUaosADdOIF3XgSIQa6VzVxcP24sO1S17/KT4WVc8J+d13Ab/Lbn1BIaXcka+80bDD+i3r+ 48SlVMSzXVUiJ1t6QK1g==; 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 1ibtpu-0000DK-Rk; Mon, 02 Dec 2019 22:06:30 +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 1ibtpD-0007tz-Re; Mon, 02 Dec 2019 22:05:49 +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 9523AB2F1; Mon, 2 Dec 2019 22:05:46 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [RFC 4/5] arm64: dts: realtek: rtd129x: Add SB2 sem nodes Date: Mon, 2 Dec 2019 23:05:34 +0100 Message-Id: <20191202220535.6208-5-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_140548_031766_58FFD9CD X-CRM114-Status: UNSURE ( 8.31 ) 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 sempaphores in RTD1295 SoC family. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 39aefe66a794..93ab6fdd03d4 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -193,3 +193,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>; + }; +};