From patchwork Sat Aug 11 11:02:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10563401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B11BA139A for ; Sat, 11 Aug 2018 11:03:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 906712A849 for ; Sat, 11 Aug 2018 11:03:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83B8B2A859; Sat, 11 Aug 2018 11:03:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2F8C92A849 for ; Sat, 11 Aug 2018 11:03:22 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=kQpAhVd0Cbeulb8T5abrOC/H14y4usCLTXzFaVlODb8=; b=o/K tMAKpi3c02pJI+0/xpUCPLeqcFRANpfgOP2QCARnK6V2Fi/rWZjhvpjzZKXVFPKGc8jD+bX+YtC7y uPVgIckW7Qw9/aphJp2bUxYPg2hXPhy5i9L5jMR9FfVciD1MRHuRRVzBFImKu3PLvBFQrYx1gHi2M bQr56cX/2azRT7an8qLs0GCWqWc12S486BnP5Hi6D9MamEdUau4GMOAIrOvlNCZaITfRXXzi0WMim pwAct0Lmg0P5hrgdCE+g9sXuSG/cBX+LWhtXUbA85/A6F9zRsDy6q4dg4HEp9b7b0209xMH7Qj4Ea 7BLctbLuZy+XJe0JVvTnI55H+udBxZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1foRfy-0000ap-VA; Sat, 11 Aug 2018 11:03:18 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1foRfv-0000Zv-DN for linux-arm-kernel@lists.infradead.org; Sat, 11 Aug 2018 11:03:16 +0000 Received: by mail-wr1-x442.google.com with SMTP id h10-v6so10327549wre.6 for ; Sat, 11 Aug 2018 04:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=kRImbuh7n+SsxE0BnNA/7+a7sEo0sbB54jtV3AoERt4=; b=q9syy+cCLswqkjZRMR5M6rfzNW3uEpI6BNHD4c+E9wocevx7jl7ipT3LOr7FCxEuJm s29D6isrxLpcpmNdrXaqgovDLoaXoAuFCQ74gRHn4W0eLTvXnQd12U2vTLCw4ocJP4SX AnpDhUDkjx2u8tstRrQg7o3JY9RrWnkqyN4tAY+Cm6Yd/yTnntZvTvkj+l0rqXTNjDSH XZWhJ4azJKQ9q/zC1BZbvG0IzFDf8mDGZez6Set8v4EaqLTjhQbryJxEFhh/Wfs0BhKw MCHHk+DQicL5mg87RQKlYePaW2KMkGR0orrEu1HbGaXwGYqts8aVXBEX0Bp0U4/2HsV1 zchQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kRImbuh7n+SsxE0BnNA/7+a7sEo0sbB54jtV3AoERt4=; b=Eg+4VMi15j1tpIn/BUiD1/Dl4rJFwrhVJE5rsBrJTKn5ueTXZ+GCf9pSsua4yO5fzV aXlyQb5olrhQRUKWkbwPGspiULZuTZzH3k3oFIXYtEQbR7AokiaEaTAbbLmBTam0Rkfq HfOFp4jIpWx2z2/tExv6MJB/Uby6uNI8biKX3/V9zBKZTI+vdf10c1L8ZUNul4UZuI3d gRUnr6VjUEyLWyDVLnnJy9Us8lbymdXSK3h09O1G+z4J6yX9S7UXl/dXHn8btpkp0DNT boAxqbUkbDFgBG6T4sM6gf/iVFTD0xt7QasEkYbDfr5QtVxX2vFjkG766jI50Bz6ff2B d/vg== X-Gm-Message-State: AOUpUlGySU72fCcsupSpD+H52knhs06M2RCEjkajKOh8oUARiG5GrAtT n7C8dyl+OfKUwQww+9ZGtymaW2ux X-Google-Smtp-Source: AA+uWPwz9zMYVoOTuuOP9c7/0GYrDGRgI1FWOQSirktdXlXqP/5AaKr2MSqZoqTVgcvI4+2dct1Mdg== X-Received: by 2002:adf:ef03:: with SMTP id e3-v6mr6214325wro.182.1533985381315; Sat, 11 Aug 2018 04:03:01 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id r12-v6sm3623546wmh.0.2018.08.11.04.02.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 04:03:00 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: silk: Add DA9063 RTC and OnKey node Date: Sat, 11 Aug 2018 13:02:57 +0200 Message-Id: <20180811110257.31690-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180811_040315_475759_82A5BB0A X-CRM114-Status: GOOD ( 11.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geert Uytterhoeven , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org, Wolfram Sang , Simon Horman , Marek Vasut MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add DA9063 RTC and OnKey subnode to DA9063 PMIC node on Silk. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Kuninori Morimoto Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org --- NOTE: Pressing the POWER Switch SW11 triggers KEY_POWER event, which ie. systemd interprets as shutdown command. NOTE: The RTC is verified to work with hwclock -w / hwclock -r . --- arch/arm/boot/dts/r8a7794-silk.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index 6ea60e1faf75..60e91ebfa65d 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -416,6 +416,14 @@ interrupts = <31 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; + onkey { + compatible = "dlg,da9063-onkey"; + }; + + rtc { + compatible = "dlg,da9063-rtc"; + }; + wdt { compatible = "dlg,da9063-watchdog"; };