Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4747454pxf; Tue, 30 Mar 2021 16:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhDW6LGx3ZodEnIXw+Qm3SxD2Qhh5SG509F17F35ihXUoqAhdWkOX7L8UnSmwxTsBvuaD0 X-Received: by 2002:a05:6402:170f:: with SMTP id y15mr303440edu.127.1617146997885; Tue, 30 Mar 2021 16:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617146997; cv=none; d=google.com; s=arc-20160816; b=u7j4YsoKe16c4gr1NVjhKeFi5322+bGDZu8WKBM3E1JjCsNBEkD7jfu/pyO7qItP5N AfnOv5kE9/g32PRnrct4jVcCTxledq56U/br/c0Q2bKnE+HgjhHcSc+E4TgRX8u5+Kgw Qowykwtb9VMAHxTnOwjilTtnYC5XTkR2/lTDVEU71MMh5YzW9fa0IWEEtIuv+wmXzNpD YMN5ARoSAD48RfWQwB3q2T0tmXIGHOyPH47phH/FY681mSAoc1G23tb6We3HPBKa1TaD tfPwK519b6e6ylSvFXAuD04EjFbEWHZV12c1FAazSgRYm3KN1eJH0XGCReYDWNll6VkZ Lu5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=v3/mQcvUwNsY/UJc2jxu3Abaa2D2bXGCJS30gIHPjEs=; b=Mt9+/6bOqxto1WdAosDMqOAYNmkzdp+3donQMdF/F9aW6RijNAOGAFfwOOwAEWoMl+ BwKcfLSRo+mvD7aMo4g4iK72liLdtNNV7zdnTUkbGTCzEOh9ZT8k7m5vW1019icz0J0W pZDjyI3ihKeHKy7lttds+mUzf/sONNO6rTr8Hdm4RDy3fPTmbG1brkLza9HE686NbHZJ D8Hikzk7BVIPvJp1tEl/pxdxT990OGDW7AT6+Ywp3hV3ViF8tac/N2gCgsUIXOf15yFg pc+V8pUMC1dsLzYwQG+c0CKNhI5LIJEbElk1WBc/2lIHKDZE5xsSIvqIs3aNLHOubQYk Yy5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=Q8okifF2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si226191ejl.510.2021.03.30.16.29.22; Tue, 30 Mar 2021 16:29:57 -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=@jms.id.au header.s=google header.b=Q8okifF2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233096AbhC3X1Z (ORCPT + 99 others); Tue, 30 Mar 2021 19:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232758AbhC3X1J (ORCPT ); Tue, 30 Mar 2021 19:27:09 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7526BC061574; Tue, 30 Mar 2021 16:27:09 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id 1so12574143qtb.0; Tue, 30 Mar 2021 16:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v3/mQcvUwNsY/UJc2jxu3Abaa2D2bXGCJS30gIHPjEs=; b=Q8okifF2x7Cis24xXyTCsqdK6HSPnuU+16cgfbDheWc8gugJ8X+B/ISr+bIh+Jo4GJ Ft5oK8XVv+9fMVUiuGcSdRLYEpDj1o5+MvtnoxIxsauXhAGJwhviS9YUW6ZgMidlx1UW GGxnpmetsT/F4eGykAZdpSBR/TkVjXqfxF7Rg= 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=v3/mQcvUwNsY/UJc2jxu3Abaa2D2bXGCJS30gIHPjEs=; b=LZF9HvZR6TzT/AKxrNHNslic1XNUrnY9plaCw3b/0jtl7RY+FbQbze8BU2grMIJhg/ /SjhZ7qGj3BSIVfXiKq0nJAuy1PcHgRrf8bb8tfT+SsSv8nH6ndHJwaLMFFVutDDigCP PvqtV+KrKaz9As7j0p2sCPnEdINJUxM8/3eZQJAOPODQ5qTS4T0gv4BhHgxGVd2ZeZ4z aUyFYIfKGIaVqW68Z5D7Z1V8q2BQESx2ut5HeaJoOHW+8D/raASu1YvLc+uFbp/cTov8 sG+tkmw7FaV9adwzKUWp3rQB4mCZgWdrKt8IkTp06qV7e5Dd4nMlIY0LCFZwJZocrGBp nD8A== X-Gm-Message-State: AOAM533JRmffKMhdtqDKgzhccezQnTzP3nIqppAuiQvtbvKlAujePUwM UMe7w3Et6LC6cDSOhdMBVUyCZBy2kISqsGv2RI8= X-Received: by 2002:ac8:7547:: with SMTP id b7mr235856qtr.176.1617146828454; Tue, 30 Mar 2021 16:27:08 -0700 (PDT) MIME-Version: 1.0 References: <20210330002338.335-1-zev@bewilderbeest.net> <20210330002338.335-3-zev@bewilderbeest.net> <20210330223902.GA837825@robh.at.kernel.org> In-Reply-To: <20210330223902.GA837825@robh.at.kernel.org> From: Joel Stanley Date: Tue, 30 Mar 2021 23:26:56 +0000 Message-ID: Subject: Re: [PATCH 2/3] dt-bindings: serial: 8250: update for aspeed,sirq-active-high To: Rob Herring Cc: Zev Weiss , OpenBMC Maillist , Linux ARM , linux-aspeed , Linux Kernel Mailing List , Andrew Jeffery , Greg Kroah-Hartman , Lubomir Rintel , - , linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Mar 2021 at 22:39, Rob Herring wrote: > > On Mon, Mar 29, 2021 at 07:23:37PM -0500, Zev Weiss wrote: > > Update DT bindings documentation for the new incarnation of the > > aspeed,sirq-polarity-sense property. > > Why? > > This isn't a compatible change. We want to depreciate support for this property. It should have never been added to the bindings; in it's current form it describes a relationship that afaict doesn't exist ("This unrelated register over here dictates the polarity of your virtual serial port IRQ"). See https://lore.kernel.org/lkml/20200812112400.2406734-1-joel@jms.id.au/ The intent is to remove it from both the bindings and the code. There's already no users of it in any device tree. How would you like Zev to go about doing this? Cheers, Joel > > > > > Signed-off-by: Zev Weiss > > --- > > Documentation/devicetree/bindings/serial/8250.yaml | 14 ++++++-------- > > 1 file changed, 6 insertions(+), 8 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml > > index f54cae9ff7b2..0bbb7121f720 100644 > > --- a/Documentation/devicetree/bindings/serial/8250.yaml > > +++ b/Documentation/devicetree/bindings/serial/8250.yaml > > @@ -13,7 +13,7 @@ allOf: > > - $ref: /schemas/serial.yaml# > > - if: > > required: > > - - aspeed,sirq-polarity-sense > > + - aspeed,sirq-active-high > > then: > > properties: > > compatible: > > @@ -181,13 +181,11 @@ properties: > > rng-gpios: true > > dcd-gpios: true > > > > - aspeed,sirq-polarity-sense: > > - $ref: /schemas/types.yaml#/definitions/phandle-array > > + aspeed,sirq-active-high: > > + type: boolean > > description: | > > - Phandle to aspeed,ast2500-scu compatible syscon alongside register > > - offset and bit number to identify how the SIRQ polarity should be > > - configured. One possible data source is the LPC/eSPI mode bit. Only > > - applicable to aspeed,ast2500-vuart. > > + Set to indicate that the SIRQ polarity is active-high (default > > + is active-low). Only applicable to aspeed,ast2500-vuart. > > > > required: > > - reg > > @@ -227,7 +225,7 @@ examples: > > interrupts = <8>; > > clocks = <&syscon ASPEED_CLK_APB>; > > no-loopback-test; > > - aspeed,sirq-polarity-sense = <&syscon 0x70 25>; > > + aspeed,sirq-active-high; > > }; > > > > ... > > -- > > 2.31.1 > >