Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2932803pxy; Mon, 3 May 2021 11:10:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0MTbfDYQaioxcvH4E+fTP9aozlQSA3AL6wurfDTMR+4qCBd7+k6W8p4IJh4XBPGY2ZhQm X-Received: by 2002:a05:6a00:1642:b029:27f:2cae:eb7e with SMTP id m2-20020a056a001642b029027f2caeeb7emr19768229pfc.39.1620065427312; Mon, 03 May 2021 11:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065427; cv=none; d=google.com; s=arc-20160816; b=EuES1Pf0Ytzfmei/TNvwaQdpISi2zvws4r9LLMsY6qACT6G2UOZM3Tpin8nnugefJW Xtis9upLtxElFqlySLwclnYnXTd7qbHf1xiTkm5IqX1fv8WEbqO2YsOQiyx6WQlZQwhX SOVn8sbhXHgcH/Loy/t3yCiIEmgQPNIaWaP/LLJWVAtVhkLLFZ4yNZtmlgJ5AJsY+Ehh /HzNECvxPUHpCMheebAhWMy637/8LFBRCUWb5eiKn8WBiki8DOGfYA5qcfHva3Qx5TWh VAhoEkJkU8K21x3gLcYMk/islFl26WUNU74Z8uKWem92JCP2jCKprKxudZPQqAmAJXE9 SkQA== 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=W1PWtzVUy7B6825OBB8ZeJD50r7eCh8stJaf1S2Tnn8=; b=ZV31JqHg6OzxbjI9lNDWEKQDaaOEF10pgpQoIeE961Ya9dBcDpIN7Rnlnx/wMOTY81 HUc4zAHSJ5kx0vCr8iyhsTUi7D3oF+XmenCzRkhgwA4U/IREjg4tKMNRN0FKri9uxXQ3 MrPXM9AdHlP9cPYCxUBlK3wfjWhdKLnWt0TzH7Wf1TyIH2K73T+nedVbu5RK7Bh0i7iG HTrjuUv9fPdVpB9QEXD3MESiC8bfN+yhPU9y2K/Qe7ZyFC/T8CYR3tfKzpwej1xlIUMB S9qePXez1gMtWfB6QQIwY7Gkv+kQxJ+hNzL3bUsUAjrNP93o9IMrr9Cd7g77zOLmcHjz oA0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=DPd6o4YV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si479868pgh.159.2021.05.03.11.10.14; Mon, 03 May 2021 11:10:27 -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=@googlemail.com header.s=20161025 header.b=DPd6o4YV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230379AbhECPgX (ORCPT + 99 others); Mon, 3 May 2021 11:36:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbhECPgW (ORCPT ); Mon, 3 May 2021 11:36:22 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2B35C06174A; Mon, 3 May 2021 08:35:28 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id y7so8492483ejj.9; Mon, 03 May 2021 08:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W1PWtzVUy7B6825OBB8ZeJD50r7eCh8stJaf1S2Tnn8=; b=DPd6o4YVw63v43ugoINIMP0Ns66RGzJvKqhUadTCA8FuU/iB9p2ZqNQq62YrKsHTvT 9AEj5CDTQ3gwQrkc1EVmBqlveECEMlVraM3rNteXlGjPJ1TTNImot4LuY1rYljRU1gZM Qz0Wc7DPGfQqMktWYey9kXh+z8ZRzBwWrsEL6SSdtw5EumTgv/HJwsJtWNxJbi2U2Rit nlpkrraMLBWwsIUCLNZIDZsoQwMZU9A5OIyXExN95FsRvZ6pBUBF+KEMA0dJRuj7bj/V m02Bqgu8sVJ1C+SoB2ri07UumjMy7hWw2haLuaWykF6fCtwQlgG4+yMm9SJ2EqhwEGkB zHAA== 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=W1PWtzVUy7B6825OBB8ZeJD50r7eCh8stJaf1S2Tnn8=; b=kJFfNryaRz9VeNa/EvAKJv0fNJQ8pc1c1Rf5tkrul7N/1OpiJnYW2WXFvErrMMTr8K YLocCzeQMA1D2AYC1ny5VJuDWrWtg5xR0L0jCz3eIRR5W0gYvffJk9HbHI6LIHNEsB2K lxSaLL8U1zGBomw1M4Mv6nT4bmV2p4taIjs7j4XEZBRnaJ+TdwTp5KKdmX30FsXHB3mV zwU/mee7MLfr5rkR0SZpndCFQAI/CMPgHn6JV9buHvLeEToJ8QdCbyZ6/Gr6z6F8MFFy cp4Ai+DrQEHwfqtOBXfyBbnJNjt3LcYCQi+FqD8xmZWylq0yjBorkTEDZryGLlASH9s0 ofjw== X-Gm-Message-State: AOAM530FZHUi1EdobUTmIU6gISWVr888SGhi3o34v7SZCRX725QQivYl afY1ojKWKhynDqRWnJw82V/b1ug1OJQvUmJff3A= X-Received: by 2002:a17:907:2bc7:: with SMTP id gv7mr17236354ejc.187.1620056126503; Mon, 03 May 2021 08:35:26 -0700 (PDT) MIME-Version: 1.0 References: <20210503145503.1477-1-linux.amoon@gmail.com> <20210503145503.1477-4-linux.amoon@gmail.com> In-Reply-To: From: Martin Blumenstingl Date: Mon, 3 May 2021 17:35:15 +0200 Message-ID: Subject: Re: [PATCHv1 3/9] soc: amlogic: meson-ee-pwrc: Add hdmi power domain Meson g12a SoCs To: Anand Moon Cc: devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anand, On Mon, May 3, 2021 at 5:29 PM Anand Moon wrote: [...] > > > +static struct meson_ee_pwrc_mem_domain meson_pwrc_mem_hdmi[] = { > > > + { HHI_MEM_PD_REG0, GENMASK(15, 8) }, > > > +}; > > > + > > the VPU power domain already includes: > > VPU_HHI_MEMPD(HHI_MEM_PD_REG0), > > whereas VPU_HHI_MEMPD is bits[15:8] > > > > Having two power domains which are managing the same registers sounds > > like it'll be causing some trouble > > So for now this is (as I am not even sure what the goal here is): > > NACKed-by: Martin Blumenstingl > > > > Ok, thanks. On the line of Ethernet PD, I tried to add this accordingly. From what I understand the VPU power domain is special because the display pipeline consists of multiple components (HDMI, VPU, ...) that's why the handling currently is special > whenever I try something new it fails. Please ignore this series. if the VPU and HDMI power domains were separate (from hardware perspective, not from driver perspective) then your change is a good step forward. in that case VPU_HHI_MEMPD would need to be removed from wherever it's currently used -> that means we need to also decide if we want to break compatibility with older (before this series) .dtbs Best regards, Martin