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: 469234 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=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 42E35C11F65 for ; Wed, 30 Jun 2021 07:33:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A24A61D01 for ; Wed, 30 Jun 2021 07:33:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233186AbhF3Hfu (ORCPT ); Wed, 30 Jun 2021 03:35:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232812AbhF3Hfu (ORCPT ); Wed, 30 Jun 2021 03:35:50 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9453C061766 for ; Wed, 30 Jun 2021 00:33:21 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id f11so1004928plg.0 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=Pb+30+cAxwDzPjxXLKnG0rnerI3WNYmQsJ+JroYUbSscwcQTp0lTYKoCoeqr/V1bnP ic408MdbzPs4sZ87ItaA/y3zYUPmm13U47tS96yY7pUaro2jAW08MKLg/d64vvmDjbZ/ WsnOXH4sOv0Y4M+XdsyddUHTHUCG4gIkOmCO68HO4QwaBITUpxYC24TsTaLQmuEH3yqs XVhqsxZPFqcFoR+e+4XMzovGNWLHXFCkR4XiFwPRPoVMbnXD8Y+iCSIMZvy/HZUAQQ5t +55kNPZ46mS9wfq6zsJymCMlG0DdAl41KAtqY/q2fY5zcKr3TxYeh4hqX2dnMN8x8FeJ qIoQ== X-Gm-Message-State: AOAM531+Fmy4Ic4kk2A3zS1bUbhJs3VEETCtMBPO9jVfAp77MYoN8DQo yxFGB+2oaCDJ7eTNuNDHuoyTEw== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; }; };