Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp177540pxb; Fri, 15 Oct 2021 03:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAJ3L4oY4wGUHBPRfw8y6tY+idTA9+efJfEw3CB7s3xz4BSXImDwhMu58GclT1y55Q8LNk X-Received: by 2002:a17:90b:104d:: with SMTP id gq13mr27480556pjb.32.1634293256680; Fri, 15 Oct 2021 03:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634293256; cv=none; d=google.com; s=arc-20160816; b=tdcwdTKIETnYDZoKjVme23XoePR2NKCrxQ+Ks6NF9B/npRx7VLJk4AMP0sN4+WpiGO /vAydFjDHkZ+67BdkGfHjh986ApCRtXbbluoMMuWA0hDOHcgCCPQASOr9o1fTbQ0R6VM fRAOpQPoS3bPqecJUWCILPnI0bqu1ILXpLFiExeASazIzkAt45rlc4qJ3JBwqjTI5Pqz u982GFhqRwjDhCMCU02V4Te8KkDUQsiLYAJphS5gVyYh8ccHuxwH/Nvr62QV6OuK2FC0 VmAUjsnuOOCuHh23hk7vRINAxXgUs0WOnlnd+8XrBe7uq3dSYoCIs2oF0GNt+QuSDYbj Waew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=IiHiYJG5j3uXHMhgYNnOYxpL3ue/Kl+1qHfEdo4QdwU=; b=WffRbE25wQDF9x/ZhtesFJsQOJsoeDBjzxK2/zl57qcrtVdTVG+SEocb0skSzDsa/j MaS1sYkW6slIBJsLYUW8PYeWGEo7JIBa1MWiCQjP8ATxwRBFo+69KEs1SLKKmv/JuX07 ktTBr+KMrvTOT8Xxqj5MqTEt50h0VL5HDlFD48XnemWwpRCQkJc9G4QgcnZ1j67ko2+e lNASHdECWTWAn9K9cOCo2U9DK1WTS8NJEc0FehcLMCZsN0HSC1bE+sObiOnKrEH+e5jz 7hi8PM7KycVMwdO7e1iAESgBAQScurzdUvImq6ux6eRvudZ6SyI1ryTIipiuYS7o+W2c XXrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rMHf5+Am; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si7689837pgv.131.2021.10.15.03.20.43; Fri, 15 Oct 2021 03:20:56 -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=@kernel.org header.s=k20201202 header.b=rMHf5+Am; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233742AbhJOBUC (ORCPT + 99 others); Thu, 14 Oct 2021 21:20:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:50342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232333AbhJOBTN (ORCPT ); Thu, 14 Oct 2021 21:19:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6E6A161139; Fri, 15 Oct 2021 01:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634260627; bh=bAWHi6JZRMIq6ROtBTobOiX1JOs6XZZyOTQ1hGwZsI4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=rMHf5+AmOcx89LPhXhJz3DYawKjebLQ+Co/j9AfJWfZb3ZgGebCo5cV0d1z6fh4YT 9EK3R0MhZX8w1TablFvPoAQBjC5JojJQY/P+4vw4w+MGohgx8O8ZlaX+3nquMnq/VC f1wcI5A+ZKpvJoHTzWHe5phc9fdqQ6HxqxjHTbDq5zb06w3Eu+0SIrkvrdUKi4xbiM +chXEHc6MOwnz+r9tPbGcJ9HHZX+TNqQkmQBU06NHwYhQAgpEmdP+06ohau1na7cUJ 4nIDuFWjh0SdvFy6cA6oDqHP8OhedanPb2U2KpdDnab+d/q8nAkr3y3ensQxr/GlEw zKyeMVwFBIZyw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <23918853-ed37-f11f-9e1e-5f302910e320@quicinc.com> References: <1631860384-26608-1-git-send-email-quic_fenglinw@quicinc.com> <1631860384-26608-9-git-send-email-quic_fenglinw@quicinc.com> <163406051353.936959.12718174954614897750@swboyd.mtv.corp.google.com> <3bf1fbf3-e741-ef08-a4e4-b348b877d02a@quicinc.com> <163415390922.936959.12352892206436080955@swboyd.mtv.corp.google.com> <23918853-ed37-f11f-9e1e-5f302910e320@quicinc.com> Subject: Re: [RESEND PATCH v1 8/9] spmi: pmic-arb: make interrupt support optional From: Stephen Boyd Cc: collinsd@codeaurora.org, subbaram@codeaurora.org To: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 14 Oct 2021 18:17:05 -0700 Message-ID: <163426062521.936959.3490351816619205076@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Fenglin Wu (2021-10-13 20:20:57) >=20 > On 10/14/2021 3:38 AM, Stephen Boyd wrote: > > Quoting Fenglin Wu (2021-10-13 01:36:54) > >> On 10/13/2021 1:41 AM, Stephen Boyd wrote: > >>> Quoting Fenglin Wu (2021-09-16 23:33:03) > >>>> From: David Collins > >>>> > >>>> Make the support of PMIC peripheral interrupts optional for > >>>> spmi-pmic-arb devices. This is useful in situations where > >>>> SPMI address mapping is required without the need for IRQ > >>>> support. > >>>> > >>>> Signed-off-by: David Collins > >>>> Signed-off-by: Fenglin Wu > >>>> --- > >>>> drivers/spmi/spmi-pmic-arb.c | 45 +++++++++++++++++++++++++++----= ------------- > >>> Is there a binding update? Can the binding be converted to YAML as we= ll? > >> This change doesn't add/update any dtsi properties but just checking i= f an > >> existing property is present to decide if IRQ support is required, so = no > >> binding change is needed. > > The property is now optional in the binding. Please update the binding. > Right, thanks for pointing it out. I forgot that part. > I will update the binding. How about only update the interrupt properties= as > optional in this series then I can come up with following patch to convert > the binding to YAML format? Sure. The benefit of converting it to YAML is that we can use the checker to quickly validate the binding vs. having to read the whole thing to understand that it's correct. Converting an existing binding to YAML shouldn't be that hard.