Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2172088pxy; Sun, 2 May 2021 13:54:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvY5ysWCcBowXzdDNe6Vb2bt/6Iy5wEXuvRg/J2sdqlAzjmb6FLR6aWxEw0zXijloCyYPT X-Received: by 2002:a63:1960:: with SMTP id 32mr14200611pgz.253.1619988877395; Sun, 02 May 2021 13:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619988877; cv=none; d=google.com; s=arc-20160816; b=BgsncjPwjhsIkkHCcsMUdfDZe0iEw97BcFXizs0oR/JFgcJ7+z8aw6uxYCo7BI2xan bY4o3/bkdalhtLQOMOXoMNbHL4DsnbZbO4hek8KrOvVgoKjlaFwxS1uBhdwyUKF+ZoSt VFOR/FPn4rzn0/334PfuzONXI57Jy5GImCeVeD9WGBLqHfI2bY8OF6ZUYly3SWG02YMA 16oQuTy2Lyo3jOP8ml3+8nIaz8tdgBsMa7tGc/jMPReBXVVoA8e429Iz17ZHmvTZAKe0 1rzilf7X3Y0wapEIAC+LKLvC60zd1TSN2cts0Wlfk3gXbb/At8RmcQJItdOS4783gR8k O3iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4x9K/RVZT8er1Orv37V20DH7ZsJDPJpXZVJ6DFDq/Q0=; b=xt0q59F/DxTkzvR0f+5lsBqE5RWg+rtR98jlJJ/n8gxao2h2g4OB5b58xUyowhWIHa +1bOds9y8VDHD10z59FMxM1Nx3C1m3SR1GsRo4/agVC1IA2gvP21yQAzAst9K7132ACq F76a++BI6LMSnKvbgW2BxnvtwR4C22j2voQJ21yp08I8jt5+4QHjEK4xvyO5ZBhDA1dq Uii55tvE/7gQeWPwWk9dNuw3Qq4LV/9ZI8nm09PHQRqRwktQP5gD00QNbsT0oiglsh/B g8QWCMFbDrZS8bwPjH1Twu4KmWdLbvr700LIQ02J/dIKqHAIpvUGajy3gdjTx4K9PAfK KcWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SocEfMh8; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx13si11133028pjb.10.2021.05.02.13.54.23; Sun, 02 May 2021 13:54:37 -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=@linaro.org header.s=google header.b=SocEfMh8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232541AbhEBUyo (ORCPT + 99 others); Sun, 2 May 2021 16:54:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232492AbhEBUyn (ORCPT ); Sun, 2 May 2021 16:54:43 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3C65C06174A for ; Sun, 2 May 2021 13:53:50 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id u16so3644247oiu.7 for ; Sun, 02 May 2021 13:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4x9K/RVZT8er1Orv37V20DH7ZsJDPJpXZVJ6DFDq/Q0=; b=SocEfMh8uZKOpIp/V0sx2Hx9B1XVx3oe+XtcRGGbU0Ww/hHFXSercbkk/J7bTsSsxf C7JjjCOVKnHIJTEfzaVux3peUZ1wcsknzXB7lkoCrMtblyvvkUXrXEpE6xM1ld+8e3le /n/TXPQX/ocpWxO/zPO0/b1iLQ/zyptntvIzhkrd24qqcX7d1zyeDN+JvtUYv/Q54gFq oOeDjtF6Suyj3/t5CdB5JoLDXS1n/Red9IGQ2Bof1Bj6fM2hDqJDSyUiSRtGjXVE62LM rg0EhKTktXYYO5SNK/wRuJZpe8TDryWnyoh9NtVcq/Nd3c8xnRxiELv9Iigk8i6iEoyu p+DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4x9K/RVZT8er1Orv37V20DH7ZsJDPJpXZVJ6DFDq/Q0=; b=J3S+c/Jum10P+zxzWVk/74G0i0qsEEghlvbRyJwWdz2DDQgrSMYGifc+lNYIqJtQav wGT/O7P4ZWTuoIw0nsP7aIKZsMfs5N8miRLQuFpVSmlgblAhoP82CfbgDyh24fe06/Uq gk/oX1qmPIcKMcXs4bGYW/oIfQYyKqco3BQvtJWgs1WaaPZucP9u/pQEwnm0SbAxqI2J lB/mF0r+ZbBRuFF5r4PiNMPguDAZuDJgaKvyCNxW+0T4w08hvRRAg6J2TwwB09nRonaU 76QfqnJgDdL3CygoRDAZF96SZkPFLckZ//s/L868LEZZkQmjZjZBvNMSIu6vviMbavgv 7QGA== X-Gm-Message-State: AOAM531C6yawwycwbZgXHtkvyUUjUM0WbzqEcuaeHXSe2R+1hXH3bC30 aFzj7kFQyy75eILx21LuneyIAw== X-Received: by 2002:aca:c7ce:: with SMTP id x197mr242663oif.93.1619988829858; Sun, 02 May 2021 13:53:49 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id l4sm2325047oic.26.2021.05.02.13.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 13:53:49 -0700 (PDT) Date: Sun, 2 May 2021 15:53:46 -0500 From: Bjorn Andersson To: Rob Herring Cc: Pavel Machek , Andy Gross , Thierry Reding , Uwe Kleine-K?nig , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss , Subbaraman Narayanamurthy Subject: Re: [PATCH v7 1/6] dt-bindings: leds: Add Qualcomm Light Pulse Generator binding Message-ID: <20210502205346.GD2484@yoga> References: <20210429211517.312792-1-bjorn.andersson@linaro.org> <20210429211517.312792-2-bjorn.andersson@linaro.org> <20210430200542.GA3779966@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210430200542.GA3779966@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 30 Apr 15:05 CDT 2021, Rob Herring wrote: > > diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml [..] > > + qcom,power-source: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: > > + power-source used to drive the output, as defined in the datasheet. > > + Should be specified if the TRILED block is present > > constraints? > Yes, we should be able to constrain this a little bit. > > + > > + qcom,dtest: > > + $ref: /schemas/types.yaml#/definitions/uint32-array > > + description: > > > + A list of integer pairs, where each pair represent the dtest line the > > + particular channel should be connected to and the flags denoting how the > > + value should be outputed, as defined in the datasheet. The number of > > + pairs should be the same as the number of channels. > > Sounds like a matrix rather than array. Constraints on the values? > I wasn't aware of uint32-matrix and that I can describe the constraints of the values in the matrix. I'll familiarize myself with it and see if I can tighten this up a little bit. Thanks, Bjorn