Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp418645pxv; Thu, 22 Jul 2021 03:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4sHxQmfaTZrem6PcY0lUj4eolIsR+0hQTNHsE97YVd8lqNmSGTYlRn0dYhFjpPvJYPfKE X-Received: by 2002:a92:c791:: with SMTP id c17mr28676133ilk.213.1626950000033; Thu, 22 Jul 2021 03:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626950000; cv=none; d=google.com; s=arc-20160816; b=CTWdOEyUoyDfH786CUC2Cv3AOeC7aN1iRltofnpugrJNWwoz4PvTSzXcn0Bo0AvFRC NToBr/FueWyRpRa9iNhV7fgXaCFRlBm+0MToCV8GgP9NpKmq9gUYBBy+/miEUrSODm8h Z1HzOm5/CMILFAonBwX8YBuIa9wt3aUXExJc/1izW45hdj16fnTOB83qIm76YeyUmIQc K6O+43jwmoz6BE3O4TV6gou0p1KmbLA9UfZdSLGwA/7Yg4fNdHgScwnO8Nh0MGI/7tH9 FQ80IvGfWWFknzTMFVkrR/OuvkeGYFz+9hh9pqSK4HD7SLptraaUfR81UpVcfdeAiaPI bRsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nQ1eEZRSLoztR9oGZiRIl6wZybSjsReiwmSu0q04ypY=; b=T6hy/JoJM7jRMfoIFzjtM+ZQBHyxK29DKh0M2Yw0QCDj81lZ9XM8ekQnlSDrmF8xSn w89Bg/1MBePR3PBbOWz7xnQ2zOIpdnPvldzUGTcgD1Pi6ZuaptsAHywIrwA3KkqgfiJS Iwx8c3miYSEo+IT0tFyFxqKvupIXdfynZTYNtTUdnO5ZbBES56xZovvY7STyLl5jC4Lo /VXJfA68KC5xaajXa8bMBtYhWwSmX/6rnSN+/YgYDtxMjiZkg864Fn47c3Y5ojZw336D w7NodDAQzhR7zTNlIQcaJMl/2HPi+oT5o2Y/xIOyeWXJj+8Sn7YrY1AGcFGQQzN9AJyr eSCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tzy7i8uB; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si25313428iow.19.2021.07.22.03.33.08; Thu, 22 Jul 2021 03:33:20 -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=@linaro.org header.s=google header.b=Tzy7i8uB; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230367AbhGVJvn (ORCPT + 99 others); Thu, 22 Jul 2021 05:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbhGVJvm (ORCPT ); Thu, 22 Jul 2021 05:51:42 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39DD3C061575 for ; Thu, 22 Jul 2021 03:32:17 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id b2so3962928plx.1 for ; Thu, 22 Jul 2021 03:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=nQ1eEZRSLoztR9oGZiRIl6wZybSjsReiwmSu0q04ypY=; b=Tzy7i8uBqDU5WkjECLstHTLuMa2ll1zWDSUtwXWnN97OOuCMXw+wdLllSBaRx9D84I Adzlr7jk7Iynjp7Xn00A/jm6WyHNCkPJvEg16R3ciXOQX6IF3BRgs2ni0zTdH+PzdZu2 +W0Hrrb8qZeDnRcMAworXLZhjLfxSpWmhyBEmxAK7/f5XsQv5EF7fSjEsBvMU3MX/9qq wjVLPyiszIUBf/bu8s1blJHgIzi66lCZCsPBS3gI7DIaFjv4JYXTADz2y0/4lzO1/VAd 1W7q2Ruc5bI7k5VtykqM04f6qsLu+8lIE6MrJ66LSqBSzP/HNYEZkFK+r0TIrVBqslr5 +alg== 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:user-agent; bh=nQ1eEZRSLoztR9oGZiRIl6wZybSjsReiwmSu0q04ypY=; b=agjZm8n+5OKAwwpekGlM97K3uC60Ds4jRyeVMX+ysfSA/chWDOPmauNsf0wXANkcI4 iluAgJQf+Oz2urytyxGpOPUBNhaKgjFvY2IAGWSH9p9mUicigxUhiAVfqOvPPKfGYRXs fMH0TRZiQfTOzrgoz5jcqJdb4jhjJ6565hs6mYdrKp7kCDshvbwx4RG9FYB5FCa3uYBf TRB6Q48sXzU/xQk7zJDTZZt7qxVlLBCfQScyGlkngoL3qc+3lMeXyaolPvXsI2zdtW/Q 702ZpTaLCuzn2Q9xHpSnuuBo69s6XE76rrng8NxQ8cqJtDnkktvDcdJCrybcWgyz9PML I0uw== X-Gm-Message-State: AOAM532RWHiiVV180boIGGSv+117BWozWtOHEIXEB468IUi6p9tst9w7 bSBK7GVqqn9/HRIQ+lhnL3iNiw== X-Received: by 2002:a65:63c1:: with SMTP id n1mr40288329pgv.398.1626949936590; Thu, 22 Jul 2021 03:32:16 -0700 (PDT) Received: from localhost ([106.201.108.2]) by smtp.gmail.com with ESMTPSA id r128sm1625271pfc.155.2021.07.22.03.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 03:32:16 -0700 (PDT) Date: Thu, 22 Jul 2021 16:02:14 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: Jason Wang , "Michael S. Tsirkin" , Rob Herring , Jean-Philippe Brucker , Vincent Guittot , Bill Mills , Alex =?utf-8?Q?Benn=C3=A9e?= , "Enrico Weigelt, metux IT consult" , Jie Deng , DTML , Linux Kernel Mailing List , "open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE" Subject: Re: [PATCH V2 1/5] dt-bindings: virtio: Add binding for virtio devices Message-ID: <20210722103214.vwdsaj6577pi4bdz@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-07-21, 12:28, Arnd Bergmann wrote: > On Thu, Jul 22, 2021 at 11:57 AM Viresh Kumar wrote: > > > > Allow virtio device sub-nodes to be added to the virtio mmio or pci > > nodes. The compatible property for virtio device must be of format > > "virtio,", where DID is virtio device ID in hexadecimal format. > > > > Signed-off-by: Viresh Kumar > > Looks good to me overall. One question would be for the exact format of > the 'compatible' string. After seeing this version, I would slightly prefer > "virtio,device22" over "virtio,22". I think in the previous version > we had mentioned both, but not actually decided on which one to use. Right, so there were few doubts I had. - Should I use "device" as well or not. - Should I use hex value or decimal. I went with what's already done with USB/PCI, and so dropped device and used hex values. I don't have any strong opinions about using or dropping "device", I am fine with whatever You/Rob suggest. -- viresh