From patchwork Wed Jun 30 03:54:44 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: 12351171 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 329F1C11F65 for ; Wed, 30 Jun 2021 03:56:54 +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 EF02361D2A for ; Wed, 30 Jun 2021 03:56:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF02361D2A 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=N/6EMhiUVsL7DnDV+FhOl3SkwnEEcI10fjrET0SRFOs=; b=1wx52wcu+TzrDA igbNJfucoh6pB/D95HLzKJPEB6GOND5vgJwXYNwhrHCsixe7KxZOdltWBEQViOK7jyZq+yT6bxwg1 QxLhcVrPDzzyJypAhcmOSKKHtoaVcM+vNzUhV+u1EyCCH1u6HUagd49PnP0AqKE7YLCu7Pc2V2hn8 45pKs0JcTD0YQ1762oQ7Ir8Fh7A00qhLH6P/r3DgObfDLPG5GYNH5RtNccr0rZurD10svv8UDctcu N+1WU00Dj2tEgNlf/6+0w/MlMftCIluI2PlWoQrV04HnmtE1vkqHCVX+9+nYAbdbaTsHk2wa5qpGX M11MSHVRmWBExdiFFPDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyRJc-00CjOJ-No; Wed, 30 Jun 2021 03:55:08 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyRJZ-00CjNV-AK for linux-arm-kernel@lists.infradead.org; Wed, 30 Jun 2021 03:55:06 +0000 Received: by mail-pj1-x102f.google.com with SMTP id cx9-20020a17090afd89b0290170a3e085edso492045pjb.0 for ; Tue, 29 Jun 2021 20:55:03 -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=XTRseahQAn7N0oXgs/qWK7jL4rGQhAjklYtYGhb1AyQ=; b=NO5OEIQsKYNpdr2LWayi7XLdIScBEOu4kjYg+ef74vvy8kzigpTWON3vmLPFeT5gTC f87p9QJk5st+s2ZG5dWu1HKfyRwJbDsbsauCW4e3auXjUhUmMsP3IxAZj9MRj9fiKDGL Zug8Ck07asx4KGT0rcv05OFwQUGLRNCCTVgOM= 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=XTRseahQAn7N0oXgs/qWK7jL4rGQhAjklYtYGhb1AyQ=; b=ae9YHXhWsqb4X/agx4t5pgKvpFgO3gqrQ6jwkOzd2DzLj76sWljVWnNCIH8knYgq9r MmUDVjDTf6W6JagHl102eE3NAI7p7oif8L2qsYRreHJvIv5sgzHj7alhl6Fo2rZfGRJG szlxN+TrC0ponROIWTzel6kH4+cYB3LbzuUefEzRXZBS4jU6V5IGufJVHLzJ02JZS5Yt 9BItsJGge/3OfhPosKDS3v8zFjpHA4vjgfMPJz1NFozLTJt0Qnr3NZ9Ji0R4+JQY37+V MfJ38YHiodvp8diHZ3nqi9be67w44+CBXyqXFYk1lHkQ6W52yN5WQ6RleRRXu0h2CM+z NBdg== X-Gm-Message-State: AOAM533Q59EEhBTgEFRrJYOkSuWqU1f09G83F9Lj3kqpey5wUGTs2fzY K7The7jz/anF5q2aI8b3LbmBZw== X-Google-Smtp-Source: ABdhPJxpm0eVuqMaGGYVUYcbD+lr8qVwBZYtjBw5loLKQrjnuA9sFFcXJwaQZLigcKOJJXKjl8OsjA== X-Received: by 2002:a17:902:b193:b029:11a:a179:453a with SMTP id s19-20020a170902b193b029011aa179453amr30293113plr.69.1625025303074; Tue, 29 Jun 2021 20:55:03 -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 f6sm13264333pfj.28.2021.06.29.20.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 20:55:02 -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] arm64: dts: mt8183: kukui: use generic pin configs for i2c pins Date: Wed, 30 Jun 2021 11:54:44 +0800 Message-Id: <20210630035443.2144958-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-20210629_205505_417143_DB5858CB 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. 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>; }; };