Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp625105pxj; Thu, 27 May 2021 08:06:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbcaLr7o02Qmwsjij8XzCWgsSWBj0If8K58YzfJ54v0qHSKN9e1AaFX2+jyHgsbAzehyfa X-Received: by 2002:a92:1a04:: with SMTP id a4mr3238877ila.38.1622127999995; Thu, 27 May 2021 08:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622127999; cv=none; d=google.com; s=arc-20160816; b=OWbnXVWi0rG8hMGPm16aY2s6UaINqZNQ6yXHWVyOq1Ub0VeRSGDfvuv9BI2F6kPw4i tEQtgcGXQ/ne2gDy7ESvE3jjs0GVMspGK2tEzUnmOTgrHuE6QzIdHR/kKi9sgKb/beBx 19V6PZRwt14bye0QWbcDkaWsu48kUX1yVaoyqn7kXK55z9Za++hpFCh6u6Ou9N5uGKke zi5RZnYYCwqDrfVP0N2xHpFQqhhgeREITVZgSbucU4s8KzL9gp5GXPFzZn0djfGJDtUJ ActgnMs628t+R7zaeeB/RK4xgywxdTzewOJfJLvLXSO0zmCRw48nch5JDLKPJ5nnfRYw e4FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=4JOQDMQ5MrNkV0pXoypIfdZ9ej9lE8plMzguR7gL1n0=; b=fnlcMjaNIIUNeLiAmEl9MI/I+kBLhtP4+cC1xkRWHUUAoJmAWbGv1ikpTp50+8VzFh HRrAE7bjPoJsT1abk0a5ELXzkRpbiYkTIrsA3h3TRrwVcOKeTM03XNU/P+fMg1wcXzOi JtEYmiuwFOImndXfSXmtpYJCIKPqA13a2us8CMhGANQJs+qxD7hoVANxOcY5GApSmUFx ZFt+5vOjeLSjWuS7T3BNuwAtjlgJ9rzA2ZLlz9IhuK86D1p4U6cpFnSPfdFAIQ/RFl5x ld9VUmXB4VBdbdqJmhUVYMqtwIhBFzApg1tfq9qRzVt8GtuUs0MYv2010fVSNOiazSJP maow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="fCVBdkC/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si2322616jaj.88.2021.05.27.08.06.25; Thu, 27 May 2021 08:06:39 -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=@gmail.com header.s=20161025 header.b="fCVBdkC/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235237AbhE0ILI (ORCPT + 99 others); Thu, 27 May 2021 04:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235224AbhE0ILH (ORCPT ); Thu, 27 May 2021 04:11:07 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E2AC061574; Thu, 27 May 2021 01:09:35 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id y202so3049346pfc.6; Thu, 27 May 2021 01:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4JOQDMQ5MrNkV0pXoypIfdZ9ej9lE8plMzguR7gL1n0=; b=fCVBdkC/hlcE+GNGGkR4uOqOIWj+8rVSVLTJgXTJHV2qwZ+yRIIrDzXGNX/E+oBTQ/ QeGlHmeDSKFWi5mnNbzEJl9rIr1U3S8c3FWe+hGd96xHAtjoUPf5wBxNhhHDMSH93O5Z d4rB9fENuiiQA1KU04B3OstTXyFhqxdEEIQXJUiVfa/XBWw7vS1//Kv/dy8gXwu48vPo z77LhvU7RauAsplBcKfGFF5R0+R+0seL7mL+TOS1HfhWrVkLuk9r9URSLQbNbuh97o1g VrRyjz24EOsP4tI99J9YS5jpICtPmunCiRpVZPVL/eOKIwvOxUEMZFjcT4sOdKuTCegb BiZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4JOQDMQ5MrNkV0pXoypIfdZ9ej9lE8plMzguR7gL1n0=; b=r9SV5KyJiLk8TSdOP3X+uU/NxXDDdfoZgoILWFEY6Y8ktk26G5OmrPStDlm6XwwIbh FdxaTwUcYVRD8Zyxp6ticmBwKqQxs57jNXy4pLB1kep6IiFC/lWM1yZ4MphRpKAw9yYz 4+tBJ8RngxKpmLkOGGp/F39TWW1dJghgimzUtjhY2XfYZ+ddRN4mZqVq81jQJR8d5liX 55n+kI8Zz7jeuZCYbTO3xp9KGiqS6Ja6O5r2lmHWUFZHV8Lvnop4XI2aHMhsKPOBnKcL ifl4tpU3YYkgz1/O8TyfX5i3Rkxs+1TywF2iRg2Qh9xfDChJw0a2lG/6Ms8XgQvOdfJT hpyw== X-Gm-Message-State: AOAM530e6Zw68bS7fVyLEzEEpEM5vQEgUhc3DSUJ4q1zs/nkwnF0GTpC 7GvGh2RW01zCbvTn9VkV+PbUNgJLngUCBQ== X-Received: by 2002:aa7:9438:0:b029:2df:258e:7f10 with SMTP id y24-20020aa794380000b02902df258e7f10mr2162599pfo.79.1622102975009; Thu, 27 May 2021 01:09:35 -0700 (PDT) Received: from lenovo.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id t141sm1267362pfc.3.2021.05.27.01.09.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 May 2021 01:09:34 -0700 (PDT) From: Orson Zhai To: Rob Herring , Frank Rowand , Saravana Kannan Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Orson Zhai Subject: [PATCH] of: property: Add fw_devlink support for pwms Date: Thu, 27 May 2021 16:09:10 +0800 Message-Id: <1622102950-31688-1-git-send-email-orsonzhai@gmail.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, }, -- 2.7.4