Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp100339pxf; Wed, 31 Mar 2021 18:03:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytL0ZxBGcfLZt7t+Ogc89grZFWxLaATrUDXLvCy2ySk+geZ4J1vuoGT3jG9uqLkHIGOD5I X-Received: by 2002:aa7:cd54:: with SMTP id v20mr7171131edw.80.1617239018413; Wed, 31 Mar 2021 18:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617239018; cv=none; d=google.com; s=arc-20160816; b=VE+jGvQDdnTrQYGMwNIgYueUVlAXH623Rh6j2Dy6HAL3ELQ1HmJ30bSiFdB+S0NMeQ k68wxV9JT1lyMLJAQsmNszboMWUr5RpIdZkHo2Ej6Ej/3HlyWODfbCqwJaTW2qS7eH/F rhI00IIdpHNpaqKFT4GGsxS5rpSiqO+HGkrIuOn4j61wZzY3fXy4kxAkSsFcLtuOff3B W6n8vI7GaOxYNAv7cGl+eCpkjftyZaHCcn2/3JfTedMdZeDejhrbSGqvBHQ/WCQqeZVf KhVjQcy6xnU75GT/nxN6oZ2Dxeb4CEHbuiqdkhHkJ2dDNIm7sXrqDcpPBI1KGVNU6/k9 afHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VeSdxtND3tSvk8Zkgif2XWXT/Is3+dLyTKL7yc7Qvoc=; b=uHQG+Rka/4/UQLDaj0f+wert3gZ9p9ScTtkyv/6PK/vXNF1zSswWvRrAL/DMwDCtru Pd3R1Kt12JS3m4HeRbVB1FTC9OGQox9lYMUbMhlwKksKHI4OwbLT9sqds8a+y+wlpRbN n+8riFpmPDSQTTRKP+B7/oF9yDTwG1tXL+LzCb8zCZ0ZZsr8KgXrn7ssVcnnXL8yonAP Ap7CjarFxmNrDfQGn1MNGf7PKDi+OdEf26ogq/eESjMVp0Rx/rK5Gy10JsGsx9lyvv96 e05kV1tEA1sjdRnyECxsR2rvAq1bUjpiqyDAYgz/6BD05Z7RHJe6ttvMHKKJSJ65Yc/U 7NmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b="Qw0d/+b7"; 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=bewilderbeest.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oy25si2958550ejb.563.2021.03.31.18.03.15; Wed, 31 Mar 2021 18:03:38 -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=@bewilderbeest.net header.s=thorn header.b="Qw0d/+b7"; 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=bewilderbeest.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232757AbhDAA6S (ORCPT + 99 others); Wed, 31 Mar 2021 20:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232927AbhDAA5t (ORCPT ); Wed, 31 Mar 2021 20:57:49 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53123C061574; Wed, 31 Mar 2021 17:57:49 -0700 (PDT) Received: from hatter.bewilderbeest.net (unknown [IPv6:2600:6c44:7f:ba20::7c6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 3B062ADE; Wed, 31 Mar 2021 17:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1617238669; bh=VeSdxtND3tSvk8Zkgif2XWXT/Is3+dLyTKL7yc7Qvoc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qw0d/+b7JOOOzLuE0outZCZECFMgfxfVMs0LradvxSyvSqCYckRGnvUOytFASHby/ nvFgoetdI4403Wy/K+GX26I48WvL7XsyEeMTRwGdzn23gHUEQkepDyi28Oc/cxXZev Wv5fooTglZjs1VKGHJbGL3pTqaRMuSbkpFNFuSyE= From: Zev Weiss To: Joel Stanley Cc: openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Andrew Jeffery , Zev Weiss , Greg Kroah-Hartman , Rob Herring , Lubomir Rintel , - , linux-serial@vger.kernel.org Subject: [PATCH v2 3/3] dt-bindings: serial: 8250: add aspeed,sirq-active-high Date: Wed, 31 Mar 2021 19:57:02 -0500 Message-Id: <20210401005702.28271-4-zev@bewilderbeest.net> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210401005702.28271-1-zev@bewilderbeest.net> References: <20210401005702.28271-1-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This provides a simpler, more direct alternative to the deprecated aspeed,sirq-polarity-sense property for indicating the polarity of the Aspeed VUART's SIRQ line. Signed-off-by: Zev Weiss --- Documentation/devicetree/bindings/serial/8250.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml index 491b9297432d..e79bb6ab9d2c 100644 --- a/Documentation/devicetree/bindings/serial/8250.yaml +++ b/Documentation/devicetree/bindings/serial/8250.yaml @@ -12,8 +12,9 @@ maintainers: allOf: - $ref: /schemas/serial.yaml# - if: - required: - - aspeed,sirq-polarity-sense + anyOf: + - required: [ aspeed,sirq-active-high ] + - required: [ aspeed,sirq-polarity-sense ] then: properties: compatible: @@ -190,6 +191,12 @@ properties: applicable to aspeed,ast2500-vuart. deprecated: true + aspeed,sirq-active-high: + type: boolean + description: | + Set to indicate that the SIRQ polarity is active-high (default + is active-low). Only applicable to aspeed,ast2500-vuart. + required: - reg - interrupts @@ -228,7 +235,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