Message ID | 20230324133741.43408-1-rogerq@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp644596vqo; Fri, 24 Mar 2023 06:59:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Z70U+CrWfyPksF9nqqW0SUu/RqMNwYRZ2T4BTjbQvSurau9RuidI0UrvXg7D3JSOjHCH15 X-Received: by 2002:a17:906:580b:b0:931:20fd:3d09 with SMTP id m11-20020a170906580b00b0093120fd3d09mr2820732ejq.17.1679666388152; Fri, 24 Mar 2023 06:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679666388; cv=none; d=google.com; s=arc-20160816; b=FQDs7HwqG5wYaMiGYl86aJCWxcwNMxNlYYRGWa+WrvPpYpVLmXDl5f46+2OJJZajDT 2tYs9WpnyrinjrCAXXARofcMpNC9tJ5YPPTPoYGUrHIzR+vLtsKAc6RvgEj6GZARTVYW wIpCnKUU9S4x5iixVd07VsOCiCdzIjJ+L42GMCpuXO22I3ilHjaZNDRU8IMYP5OviMDt IEKVXhi+5nA0kuT+S+EP40dIWICUSvKElu4cAOn4g07VJpa8VJ8H8LGNQQogEwo72DOR 6Kqh8KtIa5L2YsAqmj5b88oQVOZijfSNW80EJK3SHw/b9LAoQB8e7T6wXDIa5S00VmJH X2aw== 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=/QwxuAH0Bp8OMD/lso2zz+VLANcP1omuIl/cKGr3CjU=; b=hfbSSQbf5dcuyKtE6R1i5gLaL+lqn8I+WU6J22JNOVc6PzlZvvcRKGSPpKjLJltvdj HrKCHws++2FaXbm/ICoBomZ6gGxFlRKGc051I7cxt3ChXGIh4hdciMpQcdYDJkKXb0Xk EUoMotvWVomRiGfBuHBpntOFaBUUC8NbQb3AwoBUioMulcuTp/dTyKbz+H4RRLSAJXA8 1a//7fJx6bJz0NskR2mRt3STMSl+0oTuJ+16pbhUmXOcFU6XuXvzaaZdeHq0iWUrjzJQ h94tX9wdOLeKKwQgwfKsryLYXKX7RgCTB45YLWsB02Ia7jreoaFIL1C4N/KoAmIEp2oE 28Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gX1CyrlD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z5-20020a1709064e0500b00932f0414c74si17678815eju.155.2023.03.24.06.59.24; Fri, 24 Mar 2023 06:59:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gX1CyrlD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231776AbjCXNhx (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Fri, 24 Mar 2023 09:37:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231422AbjCXNhv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Mar 2023 09:37:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F20123842; Fri, 24 Mar 2023 06:37:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 098E0B82013; Fri, 24 Mar 2023 13:37:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B75EC433D2; Fri, 24 Mar 2023 13:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679665067; bh=1oxvOLMBWiBJ0zt2qe5luItYy27mJyAvOqY2QnENhCQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gX1CyrlDRfDAYIZChO0QGShPIjGhsC+AtJ4P8MXmf1f6Hzojx6kcW25fqHsfBZRVJ vs7Whx/crg/VXE3gZy+fOojvOmnTuO4c0bTAbTPczVV52kfVPENbUeOWctnwHtiJCD vFuQMyz43DkKq9+qy8TCDECV8cYxX0k1J77V809T8bY3q4+qicon297jAgr/jdn6gk fKhYVCsG6yVGh4DJHB4tjMFdRWJyqSvxcAsmxxIpByYfLB7+X6tOxUTPsekNqhcqzA xBShUvi688F9iIvbjP63fpxf0VBptKlm2qNGUUZUh02R7zekx7C5yDQz4neM3EnL0P pbtmKup+mzRww== From: Roger Quadros <rogerq@kernel.org> To: heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, robh+dt@kernel.org Cc: vigneshr@ti.com, srk@ti.com, r-gunasekaran@ti.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Roger Quadros <rogerq@kernel.org> Subject: [PATCH] dt-bindings: usb: tps6598x: make interrupts optional Date: Fri, 24 Mar 2023 15:37:41 +0200 Message-Id: <20230324133741.43408-1-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230324131853.41102-1-rogerq@kernel.org> References: <20230324131853.41102-1-rogerq@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761257862666736665?= X-GMAIL-MSGID: =?utf-8?q?1761257862666736665?= |
Series |
dt-bindings: usb: tps6598x: make interrupts optional
|
|
Commit Message
Roger Quadros
March 24, 2023, 1:37 p.m. UTC
The driver can poll for interrupt status so interrupts
can be optional. It is still recommended to use the
interrupt line. Polling should only be used for debug
and prototyping.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 2 --
1 file changed, 2 deletions(-)
Comments
Hi Heikki & Rob, On 24/03/2023 15:37, Roger Quadros wrote: > The driver can poll for interrupt status so interrupts > can be optional. It is still recommended to use the > interrupt line. Polling should only be used for debug > and prototyping. > > Signed-off-by: Roger Quadros <rogerq@kernel.org> > --- > Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > index 348a715d61f4..8c2db282735a 100644 > --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > @@ -35,8 +35,6 @@ properties: > required: > - compatible > - reg > - - interrupts > - - interrupt-names > > additionalProperties: true > We need this patch as well along with the driver changes [1] Could you please Ack. Thanks! [1] - https://lore.kernel.org/r/20230324131853.41102-1-rogerq@kernel.org cheers, -roger
On Wed, Mar 29, 2023 at 10:05:33AM +0300, Roger Quadros wrote: > Hi Heikki & Rob, > > On 24/03/2023 15:37, Roger Quadros wrote: > > The driver can poll for interrupt status so interrupts > > can be optional. It is still recommended to use the > > interrupt line. Polling should only be used for debug > > and prototyping. > > > > Signed-off-by: Roger Quadros <rogerq@kernel.org> > > --- > > Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > index 348a715d61f4..8c2db282735a 100644 > > --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > @@ -35,8 +35,6 @@ properties: > > required: > > - compatible > > - reg > > - - interrupts > > - - interrupt-names > > > > additionalProperties: true > > > > We need this patch as well along with the driver changes [1] > Could you please Ack. Thanks! I can give my ack FWIW, but we should still wait for Rob. Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> thanks,
On Wed, Mar 29, 2023 at 10:05:33AM +0300, Roger Quadros wrote: > Hi Heikki & Rob, > > On 24/03/2023 15:37, Roger Quadros wrote: > > The driver can poll for interrupt status so interrupts > > can be optional. It is still recommended to use the > > interrupt line. Polling should only be used for debug > > and prototyping. > > > > Signed-off-by: Roger Quadros <rogerq@kernel.org> > > --- > > Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > index 348a715d61f4..8c2db282735a 100644 > > --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > > @@ -35,8 +35,6 @@ properties: > > required: > > - compatible > > - reg > > - - interrupts > > - - interrupt-names > > > > additionalProperties: true > > > > We need this patch as well along with the driver changes [1] > Could you please Ack. Thanks! If get_maintainers.pl had been properly used, then it probably would have been acked by Krzysztof already. Otherwise, it's in my queue if the DT list is copied. Acked-by: Rob Herring <robh@kernel.org> Rob
diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml index 348a715d61f4..8c2db282735a 100644 --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml @@ -35,8 +35,6 @@ properties: required: - compatible - reg - - interrupts - - interrupt-names additionalProperties: true