Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3199791pxk; Tue, 15 Sep 2020 12:43:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUTD04Rd7H3mI03kd93JhE2GdIUJgKcjqPYNkHjWB/CVL+TsltOjlNiHug9jbSCcjJxoDo X-Received: by 2002:a50:d802:: with SMTP id o2mr24534539edj.152.1600198995592; Tue, 15 Sep 2020 12:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600198995; cv=none; d=google.com; s=arc-20160816; b=IXFt+qLpu1JuuNYtIpR7hq8goGijg9ZWlsg4PwBGcS7Ycpfp1tdhcH8/wJy/EUf5Xy uryZ4RkMNmlzF3MWv/6g8bqyGi1T9hvpl22CsV21J8G+GywOOiDF9UnXjA8pVAkbcf8W Eyu9PSDyNLoRCebC7GEwVeeELcmbx91qe5qO+sHEK3AZLruHht58a5KlfzUn5cUj1VhS YOjuSx1MzvM1XAl5uCIvJnBOk+rod4lBkCTuqToeyKmi5jC6EyXjzA9dtcIFMk34/3GC 468rk0HJD8azJDTmeNyh/sboTyv100fxpHmzERhgT4vDjcSk+Xvp3UU8Rb0Cgl6hJi3z MuVw== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IfEYrvgcOiUrQghArzmubEmT7dgVoxokSlA4Pccr+ZY=; b=NxXzd7XKqIIX25nfSrwKI9yQsCJMERWKBfBBSvylPn+GJV9BHbeaIqHA82ucQbarYn DUojLMYzyHZZSBXp5ZbGPvZ9/Tqav3GfzxUx12pHC4p8nlzuQVWf8CWsVxFqOymzJM0I /Smn9Sk1jXoF1cFJNTul0Llie4dHVkgndHIttkArD4f2EeyQCibvwT5XhUWDAkIZR8qU JqlP6fEN2PHO5uVfYhhzSnymq7mlY946Wq+UcvwR24JPN1DSzVKBO3tPAReGsIWLv6wM 0uaJB4x1wfO4ffsm016inhFl/CiNj7dSfpdwLP2r+kvtWtl0AGBHqCqdqc08uy/L1aCp AnzA== ARC-Authentication-Results: i=1; mx.google.com; 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 j24si10034261ejd.671.2020.09.15.12.42.52; Tue, 15 Sep 2020 12:43:15 -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; 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 S1727683AbgIOTlX (ORCPT + 99 others); Tue, 15 Sep 2020 15:41:23 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35619 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727898AbgIOTkm (ORCPT ); Tue, 15 Sep 2020 15:40:42 -0400 Received: by mail-io1-f68.google.com with SMTP id r9so5488138ioa.2; Tue, 15 Sep 2020 12:40:41 -0700 (PDT) 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=IfEYrvgcOiUrQghArzmubEmT7dgVoxokSlA4Pccr+ZY=; b=i4zzmufcgdG1U42/Hvjhb6o9iPPlEyWrM+jg/KYcXQ1FvBUpyWYy6V5FB8udbi2hU5 qntdpP/KCMlif8gcab2CfrFVaOjp4VqeyJvRgyw/uRmObVd/AdjMTROYFENXyDAwSZms cSJPxXcQsG9C/2OREBg/DM+Qm8efTx584GWQxwBZUuz0fO2M2NShYdnXbr4Hnr+zG/HH vV5EbvGZv9a39RqkePS3t946enz9/Pndh0hqnd/+cTXyUglp5zRFji4dUE1SnoNqYDIN dOinblTOL2W7tTfd9nKfvWAK037pAgyY+Hjy+YADIRVj/L6WcDHautM22snKHLzOZqgS 0GBg== X-Gm-Message-State: AOAM533lyHTf0/Ba8e1oQvAJ9jjxnC45cr8W9gzXrmQPv87GTMD99Ujf atq9LJ3nvd1WGATxlNvH/x75PwT91MR+hCY= X-Received: by 2002:a02:9f0d:: with SMTP id z13mr19175961jal.60.1600198840940; Tue, 15 Sep 2020 12:40:40 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m87sm9622553ilb.58.2020.09.15.12.40.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 12:40:40 -0700 (PDT) Received: (nullmailer pid 2377450 invoked by uid 1000); Tue, 15 Sep 2020 19:40:38 -0000 Date: Tue, 15 Sep 2020 13:40:38 -0600 From: Rob Herring To: Viresh Kumar Cc: linux-arm-kernel@lists.infradead.org, Vincent Guittot , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Rob Herring , Jassi Brar , Arnd Bergmann , Sudeep Holla , Jassi Brar , Frank Rowand Subject: Re: [PATCH V3 2/2] dt-bindings: mailbox: add doorbell support to ARM MHU Message-ID: <20200915194038.GA2377399@bogus> References: <7f50b23d157a97242c79bd8f2ab649a9272b9b59.1599731645.git.viresh.kumar@linaro.org> <5d448f579a41345130ae25d01bb94a6e293a6460.1599731645.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5d448f579a41345130ae25d01bb94a6e293a6460.1599731645.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Sep 2020 15:25:19 +0530, Viresh Kumar wrote: > From: Sudeep Holla > > The ARM MHU's reference manual states following: > > "The MHU drives the signal using a 32-bit register, with all 32 bits > logically ORed together. The MHU provides a set of registers to enable > software to set, clear, and check the status of each of the bits of this > register independently. The use of 32 bits for each interrupt line > enables software to provide more information about the source of the > interrupt. For example, each bit of the register can be associated with > a type of event that can contribute to raising the interrupt." > > This patch thus extends the MHU controller's DT binding to add support > for doorbell mode. > > Though the same MHU hardware controller is used in the two modes, A new > compatible string is added here to represent the combination of the MHU > hardware and the firmware sitting on the other side (which expects each > bit to represent a different signal now). > > Signed-off-by: Sudeep Holla > Co-developed-by: Viresh Kumar > Signed-off-by: Viresh Kumar > --- > V3: Update the json schema and fix number of interrupt lines. > > .../devicetree/bindings/mailbox/arm,mhu.yaml | 60 +++++++++++++++++-- > 1 file changed, 54 insertions(+), 6 deletions(-) > Reviewed-by: Rob Herring