Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1027836iob; Fri, 13 May 2022 20:11:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPzoMqi7arikdorPpBdBZTFyp3X7tI2Mnt6x2OGzaMwg7PtkbhDjueVMZkyupQySP6ua/J X-Received: by 2002:a05:6000:1788:b0:20c:dfd9:b31d with SMTP id e8-20020a056000178800b0020cdfd9b31dmr6015200wrg.24.1652497908070; Fri, 13 May 2022 20:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652497908; cv=none; d=google.com; s=arc-20160816; b=r5wTKWnMMHQzy7ZzsxfuPjdRhyaxYkBEghNEt7js+c41X8p4bTZ50R/+Zs1HJ9fdL8 fZBTZgnBdrrazYJYyAmvUTllWrqjx5r+W/k6Nk5xI2F03Yn2WmL5/2E3gPNfqTwl4C+h +zv9hDZU8gRMCmO3ZyZJbnkmscMRtSnXYv4066gXHy1d7nTw/g0rVsf0RgBrDNTtOIpS Dv0GaCO3Kb8RpjhkPFM40NHdrvhsHLB8SbprPhyHzdoAX5+Ii8/XzuSi9Qnfn1cyTJtt frCTMt+vJwtFVfAV5GR68e4kkQdpSbsBrRQImcACgH3zcokKC5vtehzIDq10tZgjsTMe rRUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3cBFD5kdFALSZmKX9KchzCHehvA180EgcT2tz16vaRo=; b=Z/x44QkxAfyvnwjpU1MnMd/KKTXSfLV0QaEtiUsuViBn0DGHwLwjBoNbcOgr2dAbuH jhDBdlrSAjCFd7G6ikPisxVqTBjC+3c5uEcsplvRfLrk9IvD1G70AMxoDi/kciDdr/vo xJAjXohhLZjmRS+rSTkCpgLpvuZwTFgNFkyQ43OnU70QEv9fNi9vsf5JedWgqAI5bQeE jNTgilfWQnb3CNnRc4C62JYcjlK2cMb40jGajqw526+KcbTUJ86f53dFKBNRKY/5mP6a mDO9snvpjukXOpTPZTk8zy3DXCqXhrdMrXfdJneCK4MDZZfTzdjaHDem2otVeHhBpChi XFmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GnZYb5Eu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x9-20020a5d6b49000000b00203e9019321si3488367wrw.165.2022.05.13.20.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:11:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GnZYb5Eu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 371493CE304; Fri, 13 May 2022 16:51:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379435AbiEMQgj (ORCPT + 99 others); Fri, 13 May 2022 12:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344683AbiEMQgf (ORCPT ); Fri, 13 May 2022 12:36:35 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D21EF44A17; Fri, 13 May 2022 09:36:33 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id g23so10546125edy.13; Fri, 13 May 2022 09:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3cBFD5kdFALSZmKX9KchzCHehvA180EgcT2tz16vaRo=; b=GnZYb5Eu1phxRNnKCJsb7GM7lv4wPRJ0aUB2f+TwmxuPplkZiCEm3UQGqjt/C6vrhL e/S1e67jLzEhLoqJwPFZ0BJopCDKWFEM1iTYwWw3K5atAgViYkReBt1pl1dZqOI+lCki cTk4fvLnVEZ1XhWnvuTp6tU/8SDuGk51E/SYkHBGhTv9CyNekZ/w6Yz2hO821eS0Bx6F j07nxeTU5Y7eWH+mU2oSNn6/HBDwF7uK55wPrfHtee+jmMFKyk/A7gfb9hNjqVSi6W80 SkPqS99URF/5W1BxEqf5kGaHmRLHiAYQ44n8hTyPeaPkpKtRCqO1iK0V9f3TfEo7ku2W lWrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3cBFD5kdFALSZmKX9KchzCHehvA180EgcT2tz16vaRo=; b=AelKrLA0gCHQRFgAXAATI2NdeQtdyJZXIWxqBqx+RhUtZ2TZBp5oXYD+UFFle2U6w/ x/ml0yX42sMBLyV1WRlxcN0JxtPgQqYUv4eTtHxw/0RXk1tsJrS9kBwumzjGyU6OEXp5 ElB/EwPFggw2zXykBlHUfTrjhRdYac5VJivXDqnmF7us5GITtTYFgC8dubiVlw8PkEg+ EjxjgOhZ3sKyU7nRbcxtJHL27ztS18fRQWfp0O7DP9PQEMVlgWwxn4PzZtZm7tNc/IGy DMazObQTJOXku10tDNWV+jycsbQdefkIPTlDEj9O0DwHE6HVfSTRZRrpt5qggeNdyqb4 aLkA== X-Gm-Message-State: AOAM531eawzeEkfPpDT5PobqoqaD1gcabHB3IHEuqGUtEYjRE2a1m7rD A2WglrQndaiLyD4jsWEfZd39rE/90VWCmg== X-Received: by 2002:a50:cd08:0:b0:426:1d9b:4b13 with SMTP id z8-20020a50cd08000000b004261d9b4b13mr41233120edi.360.1652459792345; Fri, 13 May 2022 09:36:32 -0700 (PDT) Received: from archbook.localnet (84-72-105-84.dclient.hispeed.ch. [84.72.105.84]) by smtp.gmail.com with ESMTPSA id b21-20020aa7cd15000000b0042a2e5e1a7dsm1136810edw.37.2022.05.13.09.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 09:36:31 -0700 (PDT) From: Nicolas Frattaroli To: Ezequiel Garcia , Rob Herring Cc: Krzysztof Kozlowski , Heiko Stuebner , devicetree , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List Subject: Re: [PATCH v2 3/3] arm64: dts: rockchip: Add Hantro encoder node to rk356x Date: Fri, 13 May 2022 18:36:30 +0200 Message-ID: <42373378.kc9IRrpb2S@archbook> In-Reply-To: <20220513152358.GA334264-robh@kernel.org> References: <20220508202544.501981-1-frattaroli.nicolas@gmail.com> <20220513152358.GA334264-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Freitag, 13. Mai 2022 17:23:58 CEST Rob Herring wrote: > On Fri, May 13, 2022 at 10:07:51AM -0300, Ezequiel Garcia wrote: > > [...] > > > > I didn't ignore it, I just didn't reply to it. You think this is about > > changing a dt-binding, but you are actually introducing a new dt-binding > > since you are adding a new compatible string. > > > > You are doing so by extending an existing dt-binding. > > > > I am explaining you the _existing_ dt-binding models the (incorrect) idea > > of a combined decoder and encoder. Since your device is encoder-only > > and has a single interrupt line, you should omit the interrupt-names, > > because it doesn't not add anything. > > While in general I agree on single entries don't need -names, given just > 'vdpu' is already allowed I would go with symmetry here and allow it for > the encoder. > > If you wanted to mark 'vdpu' alone as deprecated, then that would be > fine too. No need for an if/then schema to disallow interrupt-names > either. Eventually, I plan to (optionally) remove deprecated schemas > from validation and that would have the effect of requiring > interrupt-names to have 2 entries here. > > Rob After some discussion in the #linux-media IRC channel on OFTC, we've come to the conclusion that moving forward with a separate binding for encoder-only instances would probably be a wise move, as the VPU binding assumes we'll always have a decoder, and breaking this assumption will just make it more complex the longer we go on not separating these. While I was writing such a separate binding for v4 of my series, I discovered that this makes things quite a bit simpler. Especially looking into the near future, there will be between one to two additional compatibles that will be added to this binding for the RK3588, as it has no less than 5 instances capable of encoding JPEG, and I believe at least one of them is capable of other formats as well. Regards, Nicolas Frattaroli