Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp379669pxk; Fri, 11 Sep 2020 09:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf7eV3pysu35hdmBjkDDozLdPrBIIWrLHUC0fhKg+zBvcaXc2GhrBIyK5IRG/lPw4OiAEG X-Received: by 2002:a50:fb0e:: with SMTP id d14mr3084262edq.172.1599841240966; Fri, 11 Sep 2020 09:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599841240; cv=none; d=google.com; s=arc-20160816; b=y53xCZ5/D0Rxjte6c86QVcwhXrasl5ZLUF9f1XKdYHtJmr+97CCdbKks0AyRNkn24C VZ2GXM6byw1KzTma37VUQXU8365lDPlPqfOhvjfdx04hRdJlQZxn1wJChfMMp2OmIpkV UDCsj2hz0b5vAJq6wjj6JXg6jk8Lqq6C7MojgDN7Y6pb6PvqXCbPIjvqbythhXAbCAaf TBaMe9ECqcSi9cNHQLNO2DPGpMM/RE+FPbpCLu0HuLH1ZxUxSOt/waLFaED/rF+LpBPh bHi0DsxeQS78P0UgRJnDvZ4hktM/ZHVryCNScTLZFFU//StqgTO/XHAi2y5vLfSJWgb+ FsDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=XQ0JFGk0jynIKmq2K3P16bVN8Djod/Kezzi4snKiADY=; b=TphCiZf/DoQuACKMmHdM5h5jJdt/l98bhikBWrDQB2+au1RJYn/ObhqZw6Aq2lLs6l BLmRw/3B2Z9aLh+aQcQYml49AuTMPpIquW+9YvSdPf7wwR20UxybFB2oHEGkzbrFUhGN PmVhWNUxTASxFz1fFypi+KYpwZyOVCI15JeSpjIJ1nBeaVk9NiGVoNttUXIPDo/Bub0h AtW56mUDWvYXZIqFASNh1f+MVnXWMOyT+M0sv4XnJX6v95E3PoIlCjDxUghCfdtOqqVh VADps1h6J6d6ksayiLOzr8iXFTbvXRqE1w0IPOi08B/EzifmSlRBv50Rb3sJe8WomWVh Ezww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XsBD6bIs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si1574069edy.180.2020.09.11.09.20.17; Fri, 11 Sep 2020 09:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XsBD6bIs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbgIKQRr (ORCPT + 99 others); Fri, 11 Sep 2020 12:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgIKPbJ (ORCPT ); Fri, 11 Sep 2020 11:31:09 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7050EC061786 for ; Fri, 11 Sep 2020 08:31:05 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id b123so5567850vsd.10 for ; Fri, 11 Sep 2020 08:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XQ0JFGk0jynIKmq2K3P16bVN8Djod/Kezzi4snKiADY=; b=XsBD6bIs7vKHNxYE82q8A7ZEoSoOU6Ljp4t42+euB+op9GjboVKdeD6RYJ4B6IbaUP Ns2pack5xHA8MIWOe2/QY0z0Q7TrcLRLIWaDLimGj8nhXT45RAd/BxJtfAzpiOE7oI3h tabyhOgNLFJE+PAW1KTQWcHZr/cM5YEcKWi4k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XQ0JFGk0jynIKmq2K3P16bVN8Djod/Kezzi4snKiADY=; b=bSmIyl/juJUSa2gh0SRt03GNbUuY61O38VpkEuPATTje6Nd9jQ/uxjb+flggfSEQlY KV6VN3KRdLkh0m7cWFxLDNst3BgsSZPREDGL4wyG/8W/TRgFes3SP1jLeCrmHeyrsCjk bDT+fgihryo6ymdbgVo6MiepDaqerZ7u1OvOU2tN9S7hKjaMocqbb31j556XKjAdC07S /qefF/wUbNqyiyWOGZMCKPxDGb1MMXXko/P8mbW1kukEJJPP4y4AVnVQnVjNnZTKG9bS UvAWYUpevtf2rYj+xEJQtSSLG4Y7MZBjfkoMvG+RT9jqoFVtQ05gwFiaz7R9czA6vqV4 oIgw== X-Gm-Message-State: AOAM5329BPgvSoeOK3aK4Qio6GB2idZkfOM1QsKEoRLYUMLhSGe3Digg uJgrTaDyvI8riGLe0G0meESZCki/tTAK1Q== X-Received: by 2002:a67:e955:: with SMTP id p21mr1340960vso.75.1599838263118; Fri, 11 Sep 2020 08:31:03 -0700 (PDT) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com. [209.85.217.46]) by smtp.gmail.com with ESMTPSA id r14sm324196uao.14.2020.09.11.08.31.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 08:31:02 -0700 (PDT) Received: by mail-vs1-f46.google.com with SMTP id j3so5613753vsm.0 for ; Fri, 11 Sep 2020 08:31:01 -0700 (PDT) X-Received: by 2002:a05:6102:10c2:: with SMTP id t2mr1521400vsr.10.1599838261153; Fri, 11 Sep 2020 08:31:01 -0700 (PDT) MIME-Version: 1.0 References: <1599742438-16811-1-git-send-email-skakit@codeaurora.org> <1599742438-16811-3-git-send-email-skakit@codeaurora.org> <010101747ca94cce-42d129fa-0374-4f12-aab8-2ccafd02b3c7-000000@us-west-2.amazonses.com> <20200911135232.GY3715@yoga> In-Reply-To: <20200911135232.GY3715@yoga> From: Doug Anderson Date: Fri, 11 Sep 2020 08:30:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V5 2/4] arm64: dts: qcom: sc7180: Add necessary pinctrl and interrupt config for BT UART To: Bjorn Andersson Cc: satya priya , Matthias Kaehlcke , Greg Kroah-Hartman , Andy Gross , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Akash Asthana , Roja Rani Yarubandi , msavaliy@qti.qualcomm.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Sep 11, 2020 at 6:52 AM Bjorn Andersson wrote: > > > > > &uart3 { > > > > + pinctrl-names = "default", "sleep"; > > > > + pinctrl-1 = <&qup_uart3_sleep>; > > > > + interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>, > > > > + <&tlmm 41 IRQ_TYPE_EDGE_FALLING>; > > > > > > You need a: > > > > > > /delete-property/interrupts; > > > > > > ...or, alternatively, a patch before this one that converts all the > > > UARTs in sc7180 to just use interrupts-extended. > > > > > > > Sure, I will add this. But I think when both are added, > > "interrupts-extended" will get priority as per [1] and there wouldn't be any > > problem. > > > > You're indeed correct, please stick with what you have. IMO this is ugly, but I won't fight too hard on it if you guys really want to do it that way. Reading the documentation it sounds as if allowing for both is intended to be used in cases where the same device tree might be used on old software (that didn't understand interrupts-extended) and on new software (that does). The interrupts-extended property by far predates any sc7180 support, though, so I can't imagine anyone really needing to use that these days. Is it really that bad to add the /delete-property/ to end up with a cleaner final device tree? -Doug