Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp986928pxj; Thu, 27 May 2021 17:05:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlLOe4enfpyZB/LN68EM1thc1dsmlb0LX1pqawz3QPGxHMLZttk4rBOL/sCFvIXfPug2TJ X-Received: by 2002:a17:907:7618:: with SMTP id jx24mr6405331ejc.246.1622160311558; Thu, 27 May 2021 17:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622160311; cv=none; d=google.com; s=arc-20160816; b=ZXDQWGqETkY0DZZ4/PHb+iC/yQRYkXu8fNl9WqbH3JyXNN/v04K44YuMOk7GFr3ITw nwzyHLNKtIqhiLvreui7e6NCLxC6pqpjn4FFlSK/AUcwWrFMpox4MiArZqtSBf9xgMd3 +flZoXG4Q6tapbQCh2gqrr+uw96E2zlwPNbVnaPHnmjUR2nm1o/ViqIuGejNFZcZTIQm ZFRSAYzq5JoRlGfpyBAc0HzJlQhGFhEHC/xG5XYgqV2HgqY4nLgBSjdWwIyaDKrLUEcl Fe7kzPrBccDmlL3RllUaijm9BdYZCzxdby3IB9QPGNKYjTdnB+BxG9sdyH8NPY92PAZm EcfQ== 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=C4xtuCLIJzoRZ5qysXB/M8Lkr6wF9029ch4VKLEo4Nk=; b=VAlNmI/xJNu/ca5Zw2eilgMnbDsc+Z5cB+0VE6gwuTbFFj/ECO4LQC6wg4Kxu/CI/E DXNQT/AknT1qnYgtS+xjH/Ot+pm0t77T1SmOCGz6n4jsSQXzmE0gWwuZKVZ0YCsJKgst GXEk7tNlqKuosNKrXFRMREGMFIvwkNYk/kZcR1EQDChN4gRq/lhH1ZiOi+yZ9sZHX56W m7D6QS+CuwXqLIASWrvrCQn626xc30K0QvkwGdCxKS8gpVLSCoilUsxa1BGWs/nk88wd s+PJU3dU2Zk0JUKrcGAYsVIGzQrHvcnb3sRRBdjnjjKNf08cafHzGuEJk02njTSKqcYv u2cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=M53oZgch; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k11si3712809eds.277.2021.05.27.17.04.47; Thu, 27 May 2021 17:05:11 -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=@google.com header.s=20161025 header.b=M53oZgch; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234173AbhE0VGn (ORCPT + 99 others); Thu, 27 May 2021 17:06:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233788AbhE0VGl (ORCPT ); Thu, 27 May 2021 17:06:41 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F0B6C061574 for ; Thu, 27 May 2021 14:05:07 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id g38so2559021ybi.12 for ; Thu, 27 May 2021 14:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C4xtuCLIJzoRZ5qysXB/M8Lkr6wF9029ch4VKLEo4Nk=; b=M53oZgchZQwKTASJqaHlFNcDyKB269ABJeaQwoFcv9LYbaN8P0OQ2nq1CunfZ1/oNn CylgPjyHpEp6ezO+TduQV0l9CBLwehHjerBOjGllrc4MPtn/IQjkzXSQnNZDcA5DXBvJ AjRqRCKlCf4m8TYGo91rQofT79vbs0evPB3/4soXp6o+CmGn1GcRd7O0B5rIsQOyhtGX T/zrQN0iwgmR/kgthEQ3UdOt2U6r0IekeYs0W9qqSOYmHLr6PUOAeILWE0HWDj/pES4/ 9qYYDZAHnwWyX5MbYRdXpY4cVexB6bUI2ROaGIRXU6DJVsHIeWKQLW/vNBxEj5HFcmfa lKPQ== 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=C4xtuCLIJzoRZ5qysXB/M8Lkr6wF9029ch4VKLEo4Nk=; b=and1SMY/GxqH+2GXdNMd1nWQlGrqTWPIiPqSztmPNEg9ISfXmPPTDMmLObNTyNjHhQ zQXvhx9FkoQ8dGtvdBpWaUbTz/3AA0E3XDDIpvs2aAWmE77uTutXiBd4xgxkftyRWTDc Sjbba6UMqFZyI7dyTA8bUUsWwA6kgFyUsfZR5W1VG/IqOg4W/eP2CabAAzonFLTUaEjL x1DWJc8hTnL6lul+8zXazLPLniHJNjaOKxMXvjzQCQX2R/zImyCVg5LvCTMEu8y8FUFf rMBOERKZ306aRIKx6p9Xjk0I46oDZITH1ENu1MXZNwOyOGp01oc2InPm2jiIacDd4MQP /R3g== X-Gm-Message-State: AOAM532mvbxXTpMC86bNFduCmObHdp13zQl3rgkOdVnQUBSLuSpFjAkv 8siU505LUhqOGt/JbTmFZK0t52XJND6pqgVfMdYCag== X-Received: by 2002:a25:cbc4:: with SMTP id b187mr7710606ybg.466.1622149506118; Thu, 27 May 2021 14:05:06 -0700 (PDT) MIME-Version: 1.0 References: <1622102950-31688-1-git-send-email-orsonzhai@gmail.com> In-Reply-To: <1622102950-31688-1-git-send-email-orsonzhai@gmail.com> From: Saravana Kannan Date: Thu, 27 May 2021 14:04:30 -0700 Message-ID: Subject: Re: [PATCH] of: property: Add fw_devlink support for pwms To: Orson Zhai Cc: Rob Herring , Frank Rowand , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Orson Zhai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 27, 2021 at 1:09 AM Orson Zhai wrote: > > From: Orson Zhai > > pwms is often required by backlight in embedded devices. Add device link > support for pwms as well. > > Signed-off-by: Orson Zhai > --- > drivers/of/property.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/of/property.c b/drivers/of/property.c > index 6c02863..93be977 100644 > --- a/drivers/of/property.c > +++ b/drivers/of/property.c > @@ -1287,6 +1287,7 @@ DEFINE_SIMPLE_PROP(pinctrl6, "pinctrl-6", NULL) > DEFINE_SIMPLE_PROP(pinctrl7, "pinctrl-7", NULL) > DEFINE_SIMPLE_PROP(pinctrl8, "pinctrl-8", NULL) > DEFINE_SIMPLE_PROP(remote_endpoint, "remote-endpoint", NULL) > +DEFINE_SIMPLE_PROP(pwms, "pwms", NULL) > DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) > DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") > > @@ -1371,6 +1372,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { > { .parse_prop = parse_pinctrl7, }, > { .parse_prop = parse_pinctrl8, }, > { .parse_prop = parse_remote_endpoint, .node_not_dev = true, }, > + { .parse_prop = parse_pwms, }, > { .parse_prop = parse_gpio_compat, }, > { .parse_prop = parse_interrupts, }, > { .parse_prop = parse_regulators, }, I already have a local patch for this and "reset" bindings. But I'm holding off on adding support for new properties till fw_devlink=on fully lands in 5.13. Trying to avoid inadvertently adding new dependency issues. For example, the remote_endpoint binding I added to fix one issue caused more dependency issues. So far I've fixed them all. So, yeah, temporary Nak for this. -Saravana