From patchwork Thu Apr 15 19:39:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 421826 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 6EBAAC433ED for ; Thu, 15 Apr 2021 19:39:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C8A5610EA for ; Thu, 15 Apr 2021 19:39:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234805AbhDOTjq (ORCPT ); Thu, 15 Apr 2021 15:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234735AbhDOTjp (ORCPT ); Thu, 15 Apr 2021 15:39:45 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E11C061574; Thu, 15 Apr 2021 12:39:22 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id h10so29456939edt.13; Thu, 15 Apr 2021 12:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=n+D/n+l0+FskD3wUHX3DO3Hv/ed1drB5Hu8PQhsSGBA=; b=hzy168UUqnYftNbG7NwmgUF3y4PEGRQ6dZAUhJMT1Ivux2b36OkDkf14y90KYZ7m73 P3o0YVEOEwYrpLX/U4TxjMZpkb7vo6Vb33HJXIJlLakjvqCoSHUnY+ezxxPj7+7wUzgx 0fR9Y6L3S1GHAzz+1+97vhmnfbdKsEyTSRmGWGK/WAzfHe2GQ6OHtk4hC3Xgmg78kgcv qJskU++cDXyqMlRjGN0+2si3GVUO2IEl4UU3oaapKj/a3zbbbxUdtlDgi4Bzc6OH/FKo C/CZblCpUvbYfKn7UbubmfItGr4Ts7wXQ6QzpgbkIWgGQOuLOqRHOowpux3qpnOWbtjP ZZnQ== 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=n+D/n+l0+FskD3wUHX3DO3Hv/ed1drB5Hu8PQhsSGBA=; b=Qr+ZUB808VItuh0Qc+uVp2n1B5w175rqlStVTQWG/0x5NFOlQrrLg+RLbRrcr+3jpt Fp8K4GNazlnBKE/NtNGlN7yoggJ0SLVejRFW6V2dARQd+6AR7ytUvavRxba6prdR+mow EGm5tBVNQiTKDtILrB5as3Xy0qnQULpU75DRbwCv4y5lgKmLj+npw/aB49fOlU0rnrVy 3espk4j0NhtUeYpqKySui3HmwhdvY0DsvKOlzvE/9r22JIwM6nssuX6/KTLRCwdrBSUa CWFvn5hd/Yfazh3eBfYgAmskM/lwHrZOhuXgZeII6nr/avjm4S7UKkw+rNhrfViwdb/S VNFA== X-Gm-Message-State: AOAM532toyI193sZvY8o0ZwbRjBjgLq6MPlkVykrdOxthLz/A2vUK2me cAK5pwjkkmtjL66Vyw0t3nYe1KVNT3WOOg== X-Google-Smtp-Source: ABdhPJz4ULr8ZOPK74PtzO73ocoIXMZI9gKd8YMmcbmwIa+C9nM3rH03Uv7X75IkcloV7GM9l+r6Ew== X-Received: by 2002:a50:f29a:: with SMTP id f26mr6185661edm.13.1618515560993; Thu, 15 Apr 2021 12:39:20 -0700 (PDT) Received: from localhost.localdomain ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id q12sm2547455ejy.91.2021.04.15.12.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 12:39:20 -0700 (PDT) From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Andy Gross , Bjorn Andersson , Rob Herring , Ricardo Ribalda , Linus Walleij , Konrad Dybcio , devicetree@vger.kernel.org, Konrad Dybcio Subject: [PATCH v4 1/1] arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 Date: Thu, 15 Apr 2021 21:39:13 +0200 Message-Id: <20210415193913.1836153-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Reserve GPIO pins 85-88 as these aren't meant to be accessible from the application CPUs (causes reboot). Yet another fix similar to 9134586715e3, 5f8d3ab136d0, which is needed to allow angler to boot after 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning"). Fixes: feeaf56ac78d ("arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support") Signed-off-by: Petr Vorel Reviewed-by: Konrad Dybcio --- Changes v3->v4: * Fix patch title Sorry for so much noise with this simple patch. Kind regards, Petr arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts index baa55643b40f..ffe1a9bd8f70 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts @@ -32,3 +32,7 @@ serial@f991e000 { }; }; }; + +&tlmm { + gpio-reserved-ranges = <85 4>; +};