From patchwork Mon Mar 20 16:34:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13181583 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 305FDC7618D for ; Mon, 20 Mar 2023 16:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=cokIQ0Grxrtd998S7YISv+t6PmM6CvwiT87japXlKXg=; b=A4bobUEprVjmAL 7bFWkQwCShREDFIFIRWvYt5ehrOCeBqeofeZsxUZgUBh2CNvp3LtKkiQ6i8TfOVReu9PQOX8K9y3y 7gYTuomLDnYbIvuSylNTxMdeVy0rWfC0JcBNxqlwiTsbmPREAP9ofmJPsfWBnwbIzBDxfaYZ24yki IljoBzNfrvyP4QQ8eGG838nrDbX7fzY/jeN1xb6jCO/fwfxINwLQGydmDVG2tk8XLrmS6RyB8nMA5 YCkWv0v3Up0hDfPr4jt7+XAjnZ6yleS+3k6eB75+2drfX4VfAFSyfBA9HOnnTkeEchbz3jRXZH02F D4srWf4nHmWtBz5LHIOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peISu-009nmB-1Y; Mon, 20 Mar 2023 16:34:32 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1peISr-009nk9-0W for linux-arm-kernel@lists.infradead.org; Mon, 20 Mar 2023 16:34:30 +0000 Received: from ramsan.of.borg ([84.195.187.55]) by albert.telenet-ops.be with bizsmtp id agaS290061C8whw06gaSiA; Mon, 20 Mar 2023 17:34:26 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1peIS9-00E2vm-3f; Mon, 20 Mar 2023 17:34:26 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1peISn-007SYu-U6; Mon, 20 Mar 2023 17:34:25 +0100 From: Geert Uytterhoeven To: Magnus Damm , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] ARM: dts: marzen: Enable I2C support Date: Mon, 20 Mar 2023 17:34:24 +0100 Message-Id: <77b87378397fd26f39c73f68e3ea465db6d38fb1.1679330016.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230320_093429_344177_976C98BD X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the single I2C bus available on the Marzen development board. As this bus contains an AK4643 codec, it must be limited to 100 kHz. Signed-off-by: Geert Uytterhoeven --- To be queued in renesas-devel-for-v6.4. arch/arm/boot/dts/r8a7779-marzen.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts index 60c9c4b7faa151f4..fd40890bd77bc64c 100644 --- a/arch/arm/boot/dts/r8a7779-marzen.dts +++ b/arch/arm/boot/dts/r8a7779-marzen.dts @@ -215,6 +215,12 @@ keyboard-irq-hog { }; }; +&i2c0 { + status = "okay"; + + clock-frequency = <100000>; +}; + &irqpin0 { status = "okay"; };