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: 10555843 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 31EC51390 for ; Sat, 4 Aug 2018 16:38:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21B8529AD5 for ; Sat, 4 Aug 2018 16:38:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1580929AD9; Sat, 4 Aug 2018 16:38:40 +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 BBBD529AD5 for ; Sat, 4 Aug 2018 16:38:39 +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=NSFHMI8cwEAKGXFRHEGnEVp+GEAFvdRvLxBEUDrEvu4=; b=VmG vj8HVspYcqSWRIIu/lMPTlSftRaQSRaqwNlQM22H4EPBr2TagJDPvmjLCI0WvbtvDoxZ+AbH8Jg6M zFnLbBG+k51D6Tcj6o5R/dzWQ76KrGaRyFzMl6/zTetUczyNQOK9V2io19yTW8rccJWMlXP7pS5p1 lbHM2wA/to8h/GBCTS0s7TPZ9JF3Xo9a00US8wmk4z3NgW3+h0BaiOtEUF+hzsR6z+zs0y2m6uWDE q5xzI2rH0GV3pVdWOf9WeamZ9Oru56tUn4c83ID6kfwp/orODoxMJqycMWwV7PGgrrDlEMi3XZrhl BydQXle8HXmSPjxe7TLMb/wWtqwtSbA==; 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 1flzZc-0002fo-6s; Sat, 04 Aug 2018 16:38:36 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1flzZZ-0002eR-9E for linux-arm-kernel@lists.infradead.org; Sat, 04 Aug 2018 16:38:35 +0000 Received: by mail-wr1-x443.google.com with SMTP id g6-v6so8298637wrp.0 for ; Sat, 04 Aug 2018 09:38:22 -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=MUllC47R0b5G2v60C8b1gZnEU0fQwpzn3ClTLeen3ajjgA4vNAr+7RaT9gu2kNXFdY PGPrkFONCIiupBWmCAk1nwe5bXuoYsJkJ34erE06N4vAO+Bkd0yK3ljlQhLo55Vh2f9G N/1XAbhgSjMMwvKGl9pTEp1vE/PEhaMd4AWA58rQg79uuHPbwS47csLyAogGtbwoxrmu 4p85OH5hZxP64eUYW4lavDJysaV36QXXPYI7Pt2PzsgTGkpTi5ppsjwisX4AyrSykQ9N 01IF7rB3SorE2nPZPsHy83gdGaDth4zDLMCyrXBCXb19QB/bs9cTYztiHbuahCF+5kji auCA== X-Gm-Message-State: AOUpUlGucfuocQ7+m2OXb8Akb+yyRWnkTq+6IUeXLG/N42nFTYNRcGg/ mmsAA7oYC3uGvSWPYRTenvsFfjag 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180804_093833_352441_EFB3CAE7 X-CRM114-Status: GOOD ( 12.78 ) 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 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";