From patchwork Tue Apr 6 20:29:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 12185849 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.8 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,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 80106C433B4 for ; Tue, 6 Apr 2021 20:29:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25B7C613D2 for ; Tue, 6 Apr 2021 20:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242842AbhDFUaD (ORCPT ); Tue, 6 Apr 2021 16:30:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231650AbhDFUaD (ORCPT ); Tue, 6 Apr 2021 16:30:03 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C589C06174A; Tue, 6 Apr 2021 13:29:53 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id bg21so5502297pjb.0; Tue, 06 Apr 2021 13:29:53 -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=2j7CLcad6ed96rIyV9YQHxN3DzjnAJyxSEvNXU02X20=; b=nYUal0e85vIHS7aZRNgDglng+qm0qJNbkP5HRG0HaavzZxy1YeoJJfFLszSNBsJOJ3 7l1zFyXVZonWUYgDSnlmVgLwLS99tZfdfwJJqMX+H8QPJHz5wSqQuDvmwqF9YTABZkMi PhR/GWFY1fQsDgoq/mDMgHUGE14wsY9ypMkjEC60wDCH6LL7O3tJD3I1PFzTc6qI18I+ fA0sG3FrA0QZoOJpyYpjoroSbNfLiph7XbBQVEfzbxeNVCUmppbZxwfqBIrJEkIVSKRs gJROKbp2sN9X02bfYVBhJUXj9r0//MzDD8TujZiyZ0106e6BukA2/M60AKVUTqh2hWxJ zTDQ== 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=2j7CLcad6ed96rIyV9YQHxN3DzjnAJyxSEvNXU02X20=; b=CeK2JIjCLhB942tr6CbkhVm93XKmjybxdLBy8Mnm+L0XqIMzLReFZwECvX95TyNq8P DTuXh767OkCaMfQUWdKuPDV525v01RqvL6FWi7baec6OeCTdeRztXNpk0zL3Tj28MBVq KJxvB4I4EHPnXtczxNz4YEgiZeI4Y3JdybXdoCoQwExEGNINsO6npcRmyFf5xijAQDmO zK+ZEveFdbt4oIblFp47qE8SLPUzQ8clq3C8U+1MxAhtWMGBJygMrFlOyUZVc+f8Uh3x R3DWX+Unvju70nvwG+9AwVVks44mbuTvR314CquaRn7O02ti5xKtFaKnktA78CkyMhIy JiRg== X-Gm-Message-State: AOAM533d4BnnIrFmP9WjbOkuNBoHkJtqoOXMXSpPFDYFFtNKLqfN3g5n vSEhH598UHpYTQ5uc1d+DKxmwn9BB+BRvw== X-Google-Smtp-Source: ABdhPJzBnFguFi88gpmuor8iHJxiRXt/MFPep7vFboCRsnlXbgdwOM+ls2m8kZboCUNU/tBINz5c8g== X-Received: by 2002:a17:902:7788:b029:e9:11:5334 with SMTP id o8-20020a1709027788b02900e900115334mr41037pll.70.1617740993171; Tue, 06 Apr 2021 13:29:53 -0700 (PDT) Received: from dell5510.suse.de ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id x13sm4921040pgf.13.2021.04.06.13.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 13:29:52 -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 Subject: [PATCH v2 1/1] arm64: dts: qcom: angler: Reserve GPIO ranges Date: Tue, 6 Apr 2021 22:29:36 +0200 Message-Id: <20210406202936.22500-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.30.2 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 boot after 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning"). Signed-off-by: Petr Vorel --- Changes v1->v2: * Remove <0 4> (not needed) * Remove from commit message: Fixes: 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") - although fix is needed after 3edfb7bd76bd, I'm not sure if this commit is to blame commits which added/modified DTS. Kind regards, Petr arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 5 +++++ 1 file changed, 5 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..fd8e8e1cb2be 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2015, Huawei Inc. All rights reserved. * Copyright (c) 2016, The Linux Foundation. All rights reserved. + * Copyright (c) 2021 Petr Vorel */ /dts-v1/; @@ -32,3 +33,7 @@ serial@f991e000 { }; }; }; + +&tlmm { + gpio-reserved-ranges = <85 4>; +};