Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2817179rdb; Fri, 18 Aug 2023 11:18:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsODy7anA8W7auguh7kpGXDS77hB8Zb1apdEFrDwUsofNV4G0APQQktbl0C81X4KO5b8DR X-Received: by 2002:a17:902:bd48:b0:1be:ffaf:d72a with SMTP id b8-20020a170902bd4800b001beffafd72amr3285521plx.60.1692382713612; Fri, 18 Aug 2023 11:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692382713; cv=none; d=google.com; s=arc-20160816; b=R7mKHTWCdzB/lvBypmvcw6bdnK/ARXby9teGAWnA74+zZpW5+frcoClzu1iyh4afyB iQHYGFkpUM0tyMf4PnsETbBvKSa+6xqFq5DDTCsHwodCQPK+7ob+fvivBBSVvqOIWxY5 s7uWOB7nqMY1nXa1vvIMbAmDsyXyaCj4Q/nHCjwEijlpeDDZJTUGrjp8mliUIX/v0sLI ywz3ivlJsL2DkVlE0KBQdM/3DVCJ+fkx2asD/OslwdOUZG7WdRtHluWNLFUoX/9qtKCO mzsqOVSctuiVD5g02Agbd5jby5c6VGGgvGmjADmtGt/WZHHIdKcnnrL7t/uIkqHuO6kE +4qA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=1vJim1LGPGHskFkEkaZniZGVxgLVJK8pRqa8egacmQU=; fh=1+KXHgSwnWk24gIIeCl/FZCAfTdCBD8NlrDAiLZN4+I=; b=yO3vO2WX3hg1NCcS2loZba9/oxMTTovH3AQ4/3jHLU0yTtxjP268b6jRZX8VE/rP3/ Ogqxrs+gD36h+SVSjPHys6nFV70e6HVgPXaWOFBld0oxnH5Wc3UodeA9ZUR/3H9k8L8G XPWT0lfUbRM54ebQ55hZzEVaKsjBdLSPUGFwBBPH9Fx8Pnc+N+yQ/k8xRgM1594yACdU C0+iTVKZ/KDWGW1BEXwiUNhMAbIACJexrk9ZC6ThxW7+bu21KnTEvLAx8zca6yKzA+fa Iwce7Nce3/xft7bD0LDyrW0nOaQtVYFHWYC887Xg1U0eX8B056K4PvJ+xAxCtLJGfeds +EPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L0yaXP2o; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170903208b00b001b8c4021be9si1780351plc.397.2023.08.18.11.17.57; Fri, 18 Aug 2023 11:18:33 -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=L0yaXP2o; 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 S1378306AbjHRPrp (ORCPT + 99 others); Fri, 18 Aug 2023 11:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378303AbjHRPrl (ORCPT ); Fri, 18 Aug 2023 11:47:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9693BF; Fri, 18 Aug 2023 08:47:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6FC8C617A7; Fri, 18 Aug 2023 15:47:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAB7AC433C8; Fri, 18 Aug 2023 15:47:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692373658; bh=UJoBya+wdS9sWcpW5mjYgKHW60p+meiYnGzDA/IaDSM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=L0yaXP2oATAqSCXMvSAwxjWzaZtukjl4iKkscqm2A8oU1zjn7aJixPofHhfHJP9yN uaCuFsmVhp6w1EH1ChEXwBOqFeUb1RC3++06i3gckcNbAy3E+xxMhnao9MeMECBDG8 sTjWxwZyr6Eedz5nVfosqfa3RO0ayhTFqts4zQ/LoDbQYFNcGJCROLJhBqtfv04XOR 7MoMelTOVBOSVuoEI82iwdag29oOvnxx5CEdNtu6ERgUe5kROxGygGgdmVaFYP70Mw rdW66MTmTXQfGmSw87ToXzz4yM1EZyLWnhfzX2jGJ1RUEAvAvzvTY5utV6uEU3W7rK z158YDZJ3YGSA== From: Lee Jones To: Pavel Machek , Lee Jones , Stephan Gerhold Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nikita Travkin , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Lin, Meng-Bo" In-Reply-To: <20230815-aw2013-vio-v3-0-2505296b0856@gerhold.net> References: <20230815-aw2013-vio-v3-0-2505296b0856@gerhold.net> Subject: Re: [PATCH v3 0/3] leds: aw2013: Document interrupt and pull-up supply Message-Id: <169237365663.1285443.14239471615825184081.b4-ty@kernel.org> Date: Fri, 18 Aug 2023 16:47:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 15 Aug 2023 19:21:03 +0200, Stephan Gerhold wrote: > AW2013 has an optional interrupt pin "INTN" which is used to report > completion of started operations (e.g. power up or LED breath effects). > The driver does not use it (yet) but it should be already described for > completeness inside the DT schema. > > Since the interrupt and I2C lines operate in open drain low active mode > a pull-up supply is needed for correct operation. Unfortunately there > is no ideal place to describe it in the DT: The pull-up needed for the > I2C lines could be described on the I2C bus. However, the pull-up > needed for the interrupt line belongs neither directly to the interrupt > controller nor to AW2013. Since the AW2013 driver will be typically in > control of the power management and interrupt masking it makes more > sense to describe it inside the AW2013 device tree node. > > [...] Applied, thanks! [1/3] dt-bindings: leds: aw2013: Document interrupt commit: 9422bcf125b94e553c795af4f6c59d8e8fd8affa [2/3] dt-bindings: leds: Document pull-up supply for interrupt and I2C commit: 2cccb179addedff6a5234e37237fc6b22d9217d4 [3/3] leds: aw2013: Enable pull-up supply for interrupt and I2C commit: baca986e1f2c31f8e4b2a6d99d47c3bc844033e8 -- Lee Jones [李琼斯]