Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3343698ybz; Mon, 20 Apr 2020 00:28:55 -0700 (PDT) X-Google-Smtp-Source: APiQypJXr223iCWfxO2A98+W66zRElLx+3UvlCNPs9IvSfoa4kPdu30U1TxkdPCGPUw0PFowiQDB X-Received: by 2002:a17:906:4048:: with SMTP id y8mr14727249ejj.258.1587367735469; Mon, 20 Apr 2020 00:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587367735; cv=none; d=google.com; s=arc-20160816; b=Zzsyat2ll1X/D5SA6+X2bOcy3LQMcQ5cNAreaYa3j+WQKUuCwJ4l5hXSbwTgCGH7wr hl352VixAnKZnbx0XQMGYCsj1tbLbe4aYnolZ2azT2psCIVK109OY37VgSiBZvVIGi7m 8kaNN+B2+k4hnD6VmgGjTvavmLt5Y70Xs6Qx7HUX7wRQTdapwvZ1NvLfbfAcIK+rr2mv lqAY5s4rQ8vDlmdvQcUhcrVX9v62QJPA8s8sbiv6IeZCdKul4Eo8UmM/R/dCmnn6S64U G9TDbSVL95UnY7jBPehm8xKGt6nUSrln6wE1bSHtl4eRWlIEfrED9n49uN96ChzlirdB o8/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fLd3utKBUqircZ8XSU/jqQ1o3HOdiOgb+Til4epkr7E=; b=rH0TwSqyJeKKuNFyQpNn7yWthXep0LE4ppLMBl8SJc/Md4f+umEfmO/LOZFa398yFG Xsb2g9h9rw2pl1bitdCfLWlxhV7OL3NKQKeDow3S5scvCfV4DYPCsuTxduofEAdT2cGJ zu4SxvytXa/45DWh5nLR8aDMM2mvqotWsHZ0EQoPl9CT2xcWHdazygE5GbVsd4XHzwu8 ceuZlmQphUzZjwQ1E4joBDa3I2EEBNuiVa8HncQQuCs0QC5ffYMBB5NrUC4o/tqkEf9u bP+OJ1n2RYTM4TDiwIwL2Q4V2GVKamZezZJ4/DBgFxK7n1+iXAOD8nmsYopqm+bdYzVn YJLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zjs6lkCZ; 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 n10si59821edt.563.2020.04.20.00.28.32; Mon, 20 Apr 2020 00:28:55 -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=Zjs6lkCZ; 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 S1726164AbgDTH1c (ORCPT + 99 others); Mon, 20 Apr 2020 03:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726081AbgDTH1c (ORCPT ); Mon, 20 Apr 2020 03:27:32 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACCFBC061A10 for ; Mon, 20 Apr 2020 00:27:31 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id j1so5358594wrt.1 for ; Mon, 20 Apr 2020 00:27:31 -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:content-transfer-encoding:in-reply-to; bh=fLd3utKBUqircZ8XSU/jqQ1o3HOdiOgb+Til4epkr7E=; b=Zjs6lkCZP51RU1eaQIhcoO3FB2Z6jXmILC0s2D752dm7NvsQ+tleMbs3JgJ0uCOger E/tjxVQyBlWGd8C8KH6qKSy877jK0dOi4ouglmI3EUeSGLveLxJsg2RtwSK7UMdZjCHW wFmMR6P5iaO2QXH4ksbOgvB+J3KLMVx+AA8FAPieKGTfyyESTZnp60vvRq2mOL1n6k89 exxFo80LcTgKlrntlkSIIORBACYyTzHdDPArnuLiOwJFPLXem/gn0Igo6JBXWNAODiUe tLRv8q8+adw+2X8p6HhK3S5Eako2xzmyRKxo0WGwjta/t8GubKM8ali0sa3m5En/fezW 12VQ== 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:content-transfer-encoding :in-reply-to; bh=fLd3utKBUqircZ8XSU/jqQ1o3HOdiOgb+Til4epkr7E=; b=JGITGImu07P+9TTkwALEjaUpvWCWw2atkNSDnXyht2lQ9CXha9AblNnhnuaUzezhsF pPz18/zo5QjN/3BgvRDAOnsOayXJXrmezDG2pBl+2B5kxeRNdWJttSxVc4fDkrL1ujnP pem+3uxrn6p3em4I/wND7ExGPJXiSmwcKoojtxgCdqn8QJlxj1Kj/L6Y27Vyx/hFCJPG nYgEFZoa7uH8fSTGirXkpTilLs64kM+s9ARK+oaIwYQltP9zxmZ9JTgQEMGlc76nC+Z/ Vk3seO+QjhbcHWlTYswcSEq2pYxY2mKqXczV3Lhgb1N1tkwcS8zt6GcAM3miOZMREHYo 1P2Q== X-Gm-Message-State: AGi0PuZDAczCRz4eRtOKttDMZLJDZs6ttX4wHYNnUEVcMjrRx1NDDaQE 4CvoiEdLBsZ4U0HD7sutctorZQ== X-Received: by 2002:a5d:5224:: with SMTP id i4mr17175368wra.1.1587367650264; Mon, 20 Apr 2020 00:27:30 -0700 (PDT) Received: from dell ([95.149.164.107]) by smtp.gmail.com with ESMTPSA id v16sm188543wml.30.2020.04.20.00.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 00:27:29 -0700 (PDT) Date: Mon, 20 Apr 2020 08:27:27 +0100 From: Lee Jones To: kgunda@codeaurora.org Cc: Rob Herring , bjorn.andersson@linaro.org, jingoohan1@gmail.com, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, daniel.thompson@linaro.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Murphy , linux-arm-msm@vger.kernel.org, Subbaraman Narayanamurthy Subject: Re: [PATCH V5 1/4] backlight: qcom-wled: convert the wled bindings to .yaml format Message-ID: <20200420072727.GI3737@dell> References: <1586274430-28402-1-git-send-email-kgunda@codeaurora.org> <1586274430-28402-2-git-send-email-kgunda@codeaurora.org> <20200415150904.GA11174@bogus> <557e8bd874256271174402b5faba9c90@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <557e8bd874256271174402b5faba9c90@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Apr 2020, kgunda@codeaurora.org wrote: > On 2020-04-15 20:39, Rob Herring wrote: > > On Tue, Apr 07, 2020 at 09:17:07PM +0530, Kiran Gunda wrote: > > > Convert the qcom-wled bindings from .txt to .yaml format. > > > Also replace PM8941 to WLED3 and PMI8998 to WLED4. > > > > > > Signed-off-by: Kiran Gunda > > > Signed-off-by: Subbaraman Narayanamurthy > > > Acked-by: Daniel Thompson > > > --- > > > .../bindings/leds/backlight/qcom-wled.txt | 154 > > > ---------------- > > > .../bindings/leds/backlight/qcom-wled.yaml | 201 > > > +++++++++++++++++++++ > > > 2 files changed, 201 insertions(+), 154 deletions(-) > > > delete mode 100644 > > > Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > > > create mode 100644 > > > Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml [...] > > > + interrupt-names: > > > + items: > > > + - const: ovp > > > + - const: short > > > > Move these 2 props to the main section adding a 'minItems: 1'. Then just > > define 'minItems: 2' here and 'maxItems: 1' in the 'then' clause. > > > > > + > > > +required: > > > + - compatible > > > + - reg > > > + - label > > > > Add: > > > > additionalProperties: false > > > > > + > > > +examples: > > > + - | > > > + backlight@d800 { > > > + compatible = "qcom,pm8941-wled"; > > > + reg = <0xd800 0x100>; > > > + label = "backlight"; > > > + > > > + qcom,cs-out; > > > + qcom,current-limit = <20>; > > > + qcom,current-boost-limit = <805>; > > > + qcom,switching-freq = <1600>; > > > + qcom,ovp = <29>; > > > + qcom,num-strings = <2>; > > > + qcom,enabled-strings = <0 1>; > > > + }; > Thanks for reviewing. I will submit the next revision with all the fixes. Please trim your replies. Also, if you agree with all of the review comments, there really is no need to reply and/or thank the reviewer. Simply submit a subsequent set with a bumped version indicator. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog