Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2750334pxv; Mon, 12 Jul 2021 00:40:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkDSQPzfZwyhOjsm2BvbGaf/jA4OQz/fEB7mt7JUV4LPzFw/We47ttCg1HUhYwgcp8NXp+ X-Received: by 2002:a02:cad9:: with SMTP id f25mr19737361jap.97.1626075658082; Mon, 12 Jul 2021 00:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626075658; cv=none; d=google.com; s=arc-20160816; b=rHKpFx535NH+Ixn3TM0e180pvHCNGDLxTiPZfu/C6it3h8+Wztv4ttybV5FtTQBWjV fjZgjAw32jN7o8b07sz0VVp69SeGXHCp6tS9FzFSo8k6MEp5lPp5vxojE6fgBvvcNbLj dBITB+GwHg8HfMlEAxjvqJ6PkIhqGa1JMRR81O/KcKN0bno0c6v0psdaShjz/f2KWEsK 9yFPNBtcvzUrJXE3lEMys8npK3H8FgEZ1duZIybslVbXXBQUaE+BnZ74FniXzrBArPs1 YdSNITij/eE4OXgpZOVFwZD1Cvr7JYSEDNn4dpyiuJFJpWh2ms49M2W44d/wbG2P6sBQ XYSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VYxdyspSXWiwtPigXq/rsDU61HEXCt6NK9gvUcQWdw8=; b=yAHCZ4qOGklumrBx2gIIPNZNmGfb7vV7JFlAHCms8+zZVaftDjtTzbnOG4awUnlG9o BByXu/QZiHGKUC/wavaql+D9yTZkmr8BRsHUibIhFgMyk1sZThoIe7b5G6ejeGkiBgAQ 5ROsHUgzjNF5CwpbypOHwi5nfE5VQZxvzHOYQ6kPN4YESwr14BGiXyJG+MNqn1p92a8Y hcOd5dRsArwa9+xYV9RjgTIt+2argi4QGqelcALEgvjA57rXvWodBaHNDnZs0viV1ecM /pIYOi1JjB3UBZskW25G88Gm4ujdQNF92XMyktLN0I7DEGVmgBS7vldPEGWGjJifFv1Z worg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=j9Vqu0fE; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si17713288ilq.82.2021.07.12.00.40.46; Mon, 12 Jul 2021 00:40:58 -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=@chromium.org header.s=google header.b=j9Vqu0fE; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347747AbhGLHkF (ORCPT + 99 others); Mon, 12 Jul 2021 03:40:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245103AbhGLHLZ (ORCPT ); Mon, 12 Jul 2021 03:11:25 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55CDCC0225B2 for ; Mon, 12 Jul 2021 00:01:40 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id a18so22468089ljk.6 for ; Mon, 12 Jul 2021 00:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VYxdyspSXWiwtPigXq/rsDU61HEXCt6NK9gvUcQWdw8=; b=j9Vqu0fE81dKuB+kJrj1mFKs1Q4XuZf15mdQ7y/28wrgXUmux6EGDh3Kqzc0D6Soyh x4glUdP6MiOg1LSsMctR2/tU3EPVNIM5mAtqztMYzmeGxNhimHPfdbtt9VU6ew3ecE7A 7ZhwHClVVPOUnoVqqTpfiHDdu1GFefzp/GoZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VYxdyspSXWiwtPigXq/rsDU61HEXCt6NK9gvUcQWdw8=; b=S2y+JMEVEVcAW5uGGNdxLGiLd85et1g2dsPL1y0im7hy4/SRCAyJlQWhlEY6Suxs9F H9uZlDhlvQOF6hBXIqX5X5RmgbLTzHWdjHOlTn+ie+UGx41Rq3jBZ65ad0QuRYjW6TV4 R8aY814zdtUPTblj9RDsNjHgs3QdIkil4akXo29px640hynlqDoZ4ULepFqTY8e3phOL aXWfbVujDvATCpHUg3Qcn/pMcZfWSHJChvHscIVpGKOdViTYxd5Vh8XK7utjha9RrUhR C76fiqrcu4SXc+EaQ0VOdRoc6QPfMGE38orv5S/Iy1XA4H0/PGZi7sX5xNK3ouedOCP9 ccAA== X-Gm-Message-State: AOAM533Q6r7DYK09oRl+ce1QkY84VrlvyQzwLG5ScSHxq2l38044umzT +VuFd/9KHFfJuQg5/BpLus5mR1fovtzvF8oR0q4HWg== X-Received: by 2002:a2e:a583:: with SMTP id m3mr41042486ljp.305.1626073298718; Mon, 12 Jul 2021 00:01:38 -0700 (PDT) MIME-Version: 1.0 References: <20210710122446.5439-1-tinghan.shen@mediatek.com> In-Reply-To: From: Chen-Yu Tsai Date: Mon, 12 Jul 2021 15:01:27 +0800 Message-ID: Subject: Re: [v2 1/2] dt-bindings: remoteproc: mediatek: Add binding for mt8195 scp To: Tzung-Bi Shih Cc: Tinghan Shen , ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, Rob Herring , Matthias Brugger , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, LKML , srv_heupstream , Project_Global_Chrome_Upstream_Group Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 12, 2021 at 2:59 PM Chen-Yu Tsai wrote: > > On Mon, Jul 12, 2021 at 2:06 PM Tzung-Bi Shih wrote: > > > > On Sat, Jul 10, 2021 at 8:25 PM Tinghan Shen wrote: > > > @@ -5,13 +5,15 @@ This binding provides support for ARM Cortex M4 Co-processor found on some > > > Mediatek SoCs. > > > > > > Required properties: > > > -- compatible Should be "mediatek,mt8183-scp" > > > +- compatible Should be one of: > > > + "mediatek,mt8183-scp" > > > + "mediatek,mt8195-scp" > > Just realized we forgot to add DT bindings for mediatek,mt8192-scp[1]. > > Could you send another patch for adding the missing property? > > > > [1]: https://elixir.bootlin.com/linux/v5.13.1/source/drivers/remoteproc/mtk_scp.c#L879 > > > > > -- clocks Clock for co-processor (See: ../clock/clock-bindings.txt) > > > -- clock-names Contains the corresponding name for the clock. This > > > +- clocks Required by mt8183. Clock for co-processor (See: ../clock/clock-bindings.txt) > > > +- clock-names Required by mt8183. Contains the corresponding name for the clock. This > > > should be named "main". > > Let's move clocks and clock-names to "Optional properties". See [2] > > for your reference. I guess it doesn't need to mention which chip > > needs the properties. For those chips that need the clock properties, > > they won't work correctly without correct clock properties. > > I would suggest still adding them. We will need to describe the requirements > anyway then the binding is converted to DT schema. Also, a coprocessor without any clock feeding it makes little sense. Any processor requires a running clock. Whether that clock is controllable is beside the point. > ChenYu > > > [2]: https://elixir.bootlin.com/linux/v5.13.1/source/Documentation/devicetree/bindings/remoteproc/ti,keystone-rproc.txt#L87 > > > > > > Suggested to provide a cover letter for the series next time. > > > > nit: other patches usually use "[PATCH v2 1/2]" in the email title > > instead of the one used in the mail. > > > > _______________________________________________ > > Linux-mediatek mailing list > > Linux-mediatek@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-mediatek