From patchwork Tue Feb 23 22:18:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 12100981 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=-16.8 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 365E5C433E0 for ; Tue, 23 Feb 2021 22:20:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E45D660235 for ; Tue, 23 Feb 2021 22:20:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E45D660235 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com 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=merlin.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=lLCsy6u1u6sDGNJsSclqwQaZuxQyGjmo8Dt0UwFg9O0=; b=ViRiR+cqhx/5CnYKxK7Ym4mpFe p4ryn4Qc2OPtkJba/u53iWzzE1E8/x91IQ+0vYLPxJ5Fc29RbipYyhxa9/PZBTfOyUlo2JbP7aOJ+ VxzR+k3ahXRLTWk73MaWXukgd/Z5AXFHpUKFWvm3iPopGIHkud3FMq4LBbdsQQUjatoQ8MAQboe4U 3HfqMrQVeUW9vxG844c6Cg1c00Kh58ugT/3IzvvRpDPfqhfIRR1VjL0E+iVZm+HdopgRJTSCQzkLK IFlx2IJZAhx+R2RDqdellfnCWwA/pcmMT0AhApoENTbn9eVsLZkxFYbbeaeJZATtz39clF5Ugf40p yHKzbbFQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEg0x-0003aj-0w; Tue, 23 Feb 2021 22:18:43 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEg0s-0003Zl-Ny for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 22:18:40 +0000 Received: by mail-wr1-x432.google.com with SMTP id h98so19313167wrh.11 for ; Tue, 23 Feb 2021 14:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UOWr9d9lq0sjyNqrHH38BMtESbANjRbnbDGooX/xjQ8=; b=MKwlftHyyZGE3othtgMueaRHkmaajvrUXsaVYoAx670mrzccorJhqLtyleUQAEYrCd suzFsQeHhogqSKhfzYnaXilqXRfFPxFKLzFcTH733uTZc3yK29Ukwsw6laE5AJWZTlQL UMyMB27jbFxhUDyJ6qor7SrKDMJXFhi2G7sTS+s6kcdUpWAbrbf5f7xF08IfVmBChJ1N 4MX1tPr1/5ZbXUl407mcoItffg5bXvEFp7UeIGh+KRMFngmZGL5hxlWjmbBLw3nnhQ92 UtTSais/T/XTcduQ/8HQur1E5xaNtKFgTsrXewtoN04/eaXGus6LK7aunjozLwx5c85p a6WA== 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=UOWr9d9lq0sjyNqrHH38BMtESbANjRbnbDGooX/xjQ8=; b=eZHUYDEkT7/0dKjh6C+5BCY4/ppKScjV7SCz4wb18BIAicPagFK+9HQrr0EASstnRp U9OxbOrevSq/yi4r0d8wq+qgHP5SFn6rlQEqHP6rmwbkgQf8VxvJ93Nh6gmlv+2TsToc ICmFIxa2Ein4pzdWXwaW3GDsi5BnRX3PcNqE1Kyg+eH4g+7FcgLEycnAVT6xRpuvLXIB I9aQ53vigcPHAB2z+7FUfeNwkouGaARxQbzW971dDrWRt/hX5+hYV4yp3Fuxzr7PZC7j TJ9aIlmNKT4bRTkopQSyyKXcKgQVZIhc0LRGk8eQSAmz5iTtB7Fo2OjZy1a/KzKPCxmc NGpQ== X-Gm-Message-State: AOAM532Sts2TiVkGmg0nrqyAAd07UYH7oCAvEvjO+P86aOt3wHAA8UN8 lMjOHvnWHPUTnpi8qJpJuw9YVw== X-Google-Smtp-Source: ABdhPJyET+QxjGHr9GQWKV2tzcZtwrRpuGCUPQ0oFhxKbHTjMAg50XZI9bCQscPIpL6+/UkcI4ikHg== X-Received: by 2002:a5d:6a0b:: with SMTP id m11mr28305380wru.414.1614118713821; Tue, 23 Feb 2021 14:18:33 -0800 (PST) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id o129sm4035934wme.21.2021.02.23.14.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 14:18:33 -0800 (PST) From: Fabien Parent To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski Subject: [PATCH] arm64: dts: mediatek: fix reset GPIO level on pumpkin Date: Tue, 23 Feb 2021 23:18:26 +0100 Message-Id: <20210223221826.2063911-1-fparent@baylibre.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210223_171838_897528_BAFBC33C X-CRM114-Status: GOOD ( 13.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, mkorpershoek@baylibre.com, linux-kernel@vger.kernel.org, Fabien Parent , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The tca6416 chip is active low. Fix the reset-gpios value. Fixes: e2a8fa1e0faa ("arm64: dts: mediatek: fix tca6416 reset GPIOs in pumpkin") Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi index 63fd70086bb8..9f27e7ed5e22 100644 --- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi @@ -56,7 +56,7 @@ &i2c0 { tca6416: gpio@20 { compatible = "ti,tca6416"; reg = <0x20>; - reset-gpios = <&pio 65 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 65 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&tca6416_pins>;