From patchwork Sat Aug 4 16:38:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10555841 X-Patchwork-Delegate: horms@verge.net.au 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 5D85814E2 for ; Sat, 4 Aug 2018 16:38:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4614529AD5 for ; Sat, 4 Aug 2018 16:38:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2463E29AD9; Sat, 4 Aug 2018 16:38:24 +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 7B19E29AD5 for ; Sat, 4 Aug 2018 16:38:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbeHDSjf (ORCPT ); Sat, 4 Aug 2018 14:39:35 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37270 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbeHDSjf (ORCPT ); Sat, 4 Aug 2018 14:39:35 -0400 Received: by mail-wr1-f65.google.com with SMTP id u12-v6so8273180wrr.4 for ; Sat, 04 Aug 2018 09:38:21 -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=14J9EjRgavCZCLoKr+D5lCmjTtlXo3jvhn0yPszMpio=; b=JaW6qV2GGd5004VDOfhWzcFkwKZbFT0gye9docD1ZGUsRcdoUBXtTniR+tucyPbHk6 i9414X4uCBOgDJ/ckd5/kaBqnkcOTtUP7VmFqVD5VOi7DuPxNOMeSFy8b9n/fEaVmj8T vCFVyRsD28iLc+M1AUDYefTyg/xG3uM5c6CC7q5fqaeqhRKoiz+uD1trYn1TmOWpwbG7 5kcNz4Bno8sYX4IrW61CObnLHPr0akSKSyD9zhwN2CoqQWnae1cSCcV9eDGN9BLPGKOq iS95Uyxx4B/Be2FTTmTKzXuRbiypGr4tRe5A8oNzrJirYCvAb5WfzqQwo2L9n1hV/klI iVzA== 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=14J9EjRgavCZCLoKr+D5lCmjTtlXo3jvhn0yPszMpio=; b=GuZuNdvQd48WfkF6zz7kub9Elen/0Vi4f+07OHS9czCkY0LrbqHupBSeqamJNMzKkD 7dYmqxHTK5qDu4NxnhYQxq4oT9K6n/1VbW8uNK0NcJP/+N0F/mwm5pzm8kEAW22nwpmn iownnPJeKkHhFLNyvmrD8roh6FFGyMt61oNx6dEfAiud8zBhh4N9lLLKfCTK6Azwrv9/ 9XFaMC7pWW1RXFJuKQj/QOzV7NkiLwZlMQrkzZMJZwvCCiQVPsAktiblpHRFAiRQWkmk e5/f6B8eE/TOfLCTDgkLh+V1R8WRmIsUpK5H1pu3S03rvd1Mf1AhUEoxcsolPW79czi9 6ygw== X-Gm-Message-State: AOUpUlHRRxCOGm45AyINGLji1M7bjgj5zyXQCn7Qth1JM3qewi1H9bQ/ Bd9b1xTcwbcuTq8hWmox/Uk= X-Google-Smtp-Source: AAOMgpcVPxuUfx5AOTxGJKws56G4sjYO3uE6M5mqk3CJkM1dpo4v1uz+FVD/KedVcteOomYR+lomUw== X-Received: by 2002:adf:f485:: with SMTP id l5-v6mr5542349wro.259.1533400700767; Sat, 04 Aug 2018 09:38:20 -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 o16-v6sm1750363wmf.10.2018.08.04.09.38.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Aug 2018 09:38:19 -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 V2] ARM: dts: silk: Add DA9063 PMIC node Date: Sat, 4 Aug 2018 18:38:18 +0200 Message-Id: <20180804163818.23360-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 PMIC node to the I2C bus. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Kuninori Morimoto Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Reviewed-by: Geert Uytterhoeven --- V2: - Replace shmobile with dts since it's a DT patch in subject - Connect the 9063_IRQ# line to GP3_31 - Since the DA9063 is connected to both i2c1 and i2c7, connect it to i2c7, which is the dedicated dvfs i2c. --- arch/arm/boot/dts/r8a7794-silk.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index daec965889d3..6ea60e1faf75 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -405,6 +405,23 @@ clock-frequency = <400000>; }; +&i2c7 { + status = "okay"; + clock-frequency = <100000>; + + pmic@58 { + compatible = "dlg,da9063"; + reg = <0x58>; + interrupt-parent = <&gpio3>; + interrupts = <31 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + wdt { + compatible = "dlg,da9063-watchdog"; + }; + }; +}; + &mmcif0 { pinctrl-0 = <&mmcif0_pins>; pinctrl-names = "default";