From patchwork Wed Jun 30 07:33:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12351451 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A7ECC11F65 for ; Wed, 30 Jun 2021 07:38:48 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 121FD611F2 for ; Wed, 30 Jun 2021 07:38:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 121FD611F2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=ulka6vDoEUt//QcGLFGOrwe6qD7lCIubB0AvZpymm8Y=; b=eX4FzBjw9Nd7IO FHyGU6itUQ5bfnHxH1v77Ja4L5i8BU8iJwdW43+Rve2r4b2RB90CKY2ZVvFbYBn2DvjShAoWEVb6+ /Ff6lW1J/EDa7mcsO7NfizlgIXireOBfpT8xg8mRzKy5RwdN5HdRRYY5pNHDVWHxmlMU3zq23YOVt V1szF1ZXg85WcNOEBN8m7VbJ+Bi+SExKJAcJgrXghb++08z+YSrdFoUmG7QHhuUR7b3IIANVrL4/q rUGTFEuuYfAtmA6yHE5Mttnq7W/qUUSgXmqCl4og03OQ5/6D6I5+hMKKCPIj9kVdP8C4F71a75EHZ kEMGIiHTwQG26M2glfbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyUlv-00D766-BI; Wed, 30 Jun 2021 07:36:38 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyUio-00D5Sq-6f for linux-arm-kernel@lists.infradead.org; Wed, 30 Jun 2021 07:33:23 +0000 Received: by mail-pl1-x629.google.com with SMTP id b5so984973plg.2 for ; Wed, 30 Jun 2021 00:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S23gVGVcqD7f0fwhKzKVAxR8rv5+89obRLf4D+hN+hE=; b=JsQOWA1IUjLa3FWO6Hy/j9CL5yHybWgR/t+DuEdTAQn6HFyHEKwWKQsJ1fRUF1aKhi //wQexGMhTMFys9IslVkV+px4sY/hcxKmFNUZeJZ9kqMh/81cqDuFnMjIt+kqVlyIJR1 j2QvXnO1mtbDkSdQa9Txfnwc9cjr85VjCwU6o= 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=S23gVGVcqD7f0fwhKzKVAxR8rv5+89obRLf4D+hN+hE=; b=KEOvtnAu8C1lCCc+zpaQae84nALjIas5oOfQqiLUswmzDWkj7x9WFqXxKhRGLcpVPa L0k/JtrdZmPs9Go2UnF9nF56zbC0XdnCZe3hrvvejZkyI7NAKY7IEx9nQwpxWm5wFXgr q5asEjH4Q60vstP2AkLFsdj1oEZcVB9mSwS5SGlBdQpErQ5DyeWonm+9oANJO5JaccrX MD9YpQr64n7qCLfr0xZw/A+DuhIyHd1PF9xVSizlaaeSIMIr7FIfyniQ2wpOSz+Ij+G6 WfJMpypBS3rxlIRnUSPdLmz1vx0ZMlk0q5v/MOy6t26xqbl30XTi30WS+A6/3EWvXVRy syEQ== X-Gm-Message-State: AOAM533QtGABibAMwS0xwi0e5f9Hh/wc6OA9XN/YBS5lvv7nX4vrvAGB 2HELn4tKfklnE5qOydfhQKy0fg== X-Google-Smtp-Source: ABdhPJyMt1I0HHKMGn1W7t71MGIp14zkTdXt0kIvh9nOUAWZINKJW4akDkCQEjnawxoDuWVC/fxxeQ== X-Received: by 2002:a17:90a:7641:: with SMTP id s1mr38258826pjl.84.1625038401283; Wed, 30 Jun 2021 00:33:21 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:2f49:a14d:fd5:cbd3]) by smtp.gmail.com with ESMTPSA id v1sm20724909pjg.19.2021.06.30.00.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 00:33:20 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , zhiyong.tao@mediatek.com Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: mt8183: kukui: use generic pin configs for i2c pins Date: Wed, 30 Jun 2021 15:33:12 +0800 Message-Id: <20210630073311.2177374-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.93.g670b81a890-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210630_003322_296255_5227F02D X-CRM114-Status: GOOD ( 11.32 ) 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 mt8183 i2c pins don't support PUPD register, so change to use generic pin configs instead of let it fail and fallback. Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") Signed-off-by: Hsin-Yi Wang Reviewed-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index ae549d55a94fc..69dc04c3f7fff 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -426,7 +426,7 @@ i2c0_pins: i2c0 { pins_bus { pinmux = , ; - mediatek,pull-up-adv = <3>; + bias-pull-up; mediatek,drive-strength-adv = <00>; }; }; @@ -435,7 +435,7 @@ i2c1_pins: i2c1 { pins_bus { pinmux = , ; - mediatek,pull-up-adv = <3>; + bias-pull-up; mediatek,drive-strength-adv = <00>; }; }; @@ -453,7 +453,7 @@ i2c3_pins: i2c3 { pins_bus { pinmux = , ; - mediatek,pull-up-adv = <3>; + bias-pull-up; mediatek,drive-strength-adv = <00>; }; }; @@ -471,7 +471,7 @@ i2c5_pins: i2c5 { pins_bus { pinmux = , ; - mediatek,pull-up-adv = <3>; + bias-pull-up; mediatek,drive-strength-adv = <00>; }; };