From patchwork Sun Mar 3 19:00:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10837223 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 73792139A for ; Sun, 3 Mar 2019 19:01:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F7C229CE9 for ; Sun, 3 Mar 2019 19:01:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5406529CF1; Sun, 3 Mar 2019 19:01:12 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 0903029CF3 for ; Sun, 3 Mar 2019 19:01:12 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=zUYGxZy6A0wXwMxJfhKSPURS1vKxX6cZQ9nL308ye3E=; b=Fw5cNovyB1Ai6o PGAD4/BHA6fC7m7sUvr1wOdgVlMx0ScKw/v121Sj3e0DkGlcDGEcxMBpGu8VaVuBh18iEMrqkzd3w ABS90ZP7phiGetXORuPWDOqDL+rBxbSTB+MhEo7VvPaR1guiDjgf9vZ63K/6IquAOHFMvvvd/so86 mMQmGCfI5uzam/6g3akx2L7b8QLip2iI+pC1lRzctvRj2tuxTYW7ORUun0Ym4dKEdlr2Lwbbe1uwD bh17FslMpcXl6WGvYNXnmrguA+OKJMPH4Nzlan9EuhjHp3BtHHMhxrF1xhGWtuE5emCoY2jRcDo22 s9wbACCCI69Fs9XDZatg==; 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 1h0WMI-0007Wt-CK; Sun, 03 Mar 2019 19:01:10 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0WME-0007Wa-Fb for linux-arm-kernel@lists.infradead.org; Sun, 03 Mar 2019 19:01:08 +0000 Received: by mail-wr1-x444.google.com with SMTP id g12so3165649wrm.5 for ; Sun, 03 Mar 2019 11:01:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2SYyAiNtQeMaSYgkPuBpBt0hTBmnTOGSloIwl1tQugY=; b=bPnmr0b8EAt/GJB0bF+VwuvNngn4wRkZK/mrSsE6sV1JzoVwLjW+4CFCplJxZZZOJ8 xwUuvQMVyYgPrkI2r3p9QCum8sVnwKP+Ixy7m9q7y0Bi8AMFXSOcMDSkXohIgVO7qzXM z+eqkXX8LeQeaHzb9UXMAl601RJ9Jl+x0AeEw9V1EKCTHqoEAqn3GmsWvSwENgzDyU2K gYjLXUDsRLGr7Z26oRSBlWa+jkEq8tp2rU6VAr7db24wqssOpuaDG1vebsCXcpHuDUAX PbjR2s0xY1YWu2GqUa2fYKUz7AbWS/laTZbrE8dk71eKJdgQ/6w/5P4hSgfXmkmTc+eg n7OQ== 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:mime-version :content-transfer-encoding; bh=2SYyAiNtQeMaSYgkPuBpBt0hTBmnTOGSloIwl1tQugY=; b=UCF5rmkiltdv0GWKYK2x3a3wGKZV8IhPuAs9gHBfOyn7WAJDtWHb6evsIs2gBJJDPs NoAt/s8mLKbpJ4gtqAyJ0sKOV2GQXFZwH7aWaEePNE3hPleael4EeQfaOS7L4AXLaOhT s79fR06pBbfRPy0mtD3lzGspEseBuOybzl1PfDTRAoM6bc2kBC3O45joKxPMFo1sRADk xELgZVk3sDMgNbFikACuvMBITbVC6LUUteuaeDHy/DCQ+keWpOmeVLoVx/XJS7EETFK/ UIH9lInSXENj0iRZKjo9nTinmwWe1zbq4/y0AN2WM+JaI3vDlps9XNQkud51crsNOp+e rWzA== X-Gm-Message-State: APjAAAUoyNagWhKt/gD6ccfLgh1agUa043K9j3PmkCAxXbgkQCQtzMfN ynZwhVAvNLaCSOHQKRJP6dFHzg7g X-Google-Smtp-Source: APXvYqyGzj1KVB517zW39a6i1jl2cqQo3D9LW0VXKTTU4jOxPmUCRnF4l/bSAZhIse7E6GqG2bMOoQ== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr9788324wrw.87.1551639664368; Sun, 03 Mar 2019 11:01:04 -0800 (PST) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id e7sm4765001wrw.35.2019.03.03.11.01.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 11:01:03 -0800 (PST) From: marek.vasut@gmail.com To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: alt: Add DA9063 PMIC node Date: Sun, 3 Mar 2019 20:00:59 +0100 Message-Id: <20190303190059.31155-1-marek.vasut@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190303_110106_521205_2C9391AA X-CRM114-Status: GOOD ( 11.48 ) 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: linux-renesas-soc@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Marek Vasut 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 From: Marek Vasut Add DA9063 PMIC node to the I2C bus. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Simon Horman Cc: linux-renesas-soc@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Reviewed-by: Geert Uytterhoeven --- NOTE: R8A7794 Alt does not share the PMIC IRQ line with other PMICs, hence the regulator-quirk-rcar-gen2.c does not need a new entry. --- arch/arm/boot/dts/r8a7794-alt.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index ef7e2a837df6..e0500ec81569 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -377,6 +377,27 @@ pinctrl-names = "i2c-exio4"; }; +&i2c7 { + status = "okay"; + clock-frequency = <100000>; + + pmic@58 { + compatible = "dlg,da9063"; + reg = <0x58>; + interrupt-parent = <&gpio3>; + interrupts = <31 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + rtc { + compatible = "dlg,da9063-rtc"; + }; + + wdt { + compatible = "dlg,da9063-watchdog"; + }; + }; +}; + &vin0 { status = "okay"; pinctrl-0 = <&vin0_pins>;