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: 10563399 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 A977B14E2 for ; Sat, 11 Aug 2018 11:03:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85E912A849 for ; Sat, 11 Aug 2018 11:03:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 756262A852; Sat, 11 Aug 2018 11:03:08 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C3892A849 for ; Sat, 11 Aug 2018 11:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727286AbeHKNgy (ORCPT ); Sat, 11 Aug 2018 09:36:54 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34454 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727266AbeHKNgx (ORCPT ); Sat, 11 Aug 2018 09:36:53 -0400 Received: by mail-wr1-f67.google.com with SMTP id c13-v6so10362887wrt.1 for ; Sat, 11 Aug 2018 04:03:02 -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=BHl9Djm607eLIHyvD1g08AdPRBXlsNjialRlUBsnvD/g72OkTgxqZX8Q3dJf3wWiDZ SrGmWoYib+XXpPt6itVaQpOz6gMzBFqNL+T8tH5Nze9ONWFvZhCJLLfXRoLXqu1GBtBQ 0b8F8aGOnSgAkyat9vmiIwbSfByd2/mfTQVnGzhfjDKHOD+c5AhcPRvF4Zh35V8t17QF MQQuOjuXIKBjLZkvDKUdCoA3lgkYfOiuwQ5dcmieTy/aR5wWfz+ojyBWOiWe5PavmnRI lq9qjp5k1nB3sl+B8Eb7g48xGv9F9oUmpv4dOpa9Zi8i9nvlD8ZKFKn2x6znt1h3WgVI I4vQ== X-Gm-Message-State: AOUpUlEzDGv/vs4eI5ABsAuhfM9bi4JOfd9LqYSvmsGVBkXEasiUBz+u PJy3dUSn7YU8+2Ly8QclCCE= 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 Cc: Marek Vasut , Geert Uytterhoeven , Kuninori Morimoto , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.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 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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"; };