Received: by 10.223.185.116 with SMTP id b49csp3015843wrg; Mon, 5 Mar 2018 12:31:00 -0800 (PST) X-Google-Smtp-Source: AG47ELuolDU+OjwGAmUVDHU52BLKmApfy1/hHJxmtQNM6TVdwF9bxfisnrmXbNm07pjXfwDtRmm7 X-Received: by 10.99.38.135 with SMTP id m129mr5739511pgm.2.1520281860173; Mon, 05 Mar 2018 12:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520281860; cv=none; d=google.com; s=arc-20160816; b=wAKmDZHpsgdtF/NkTrmjq5cQle6/8FQ+u35fVnHbVWzOPIqC6hewyK2QT/+hFnL5DG /Po9Pu6erisUHflpJNN8xO5H0Wp4vaXb760mkL0B4SXXeqs3pbbiUjBLzgH7/BieJRjo R6VPGQmR+ljum2orNsXfSliHrNQ7m9anVIByqqARIMUaDSwy1Q+hiX/kFFfA2XRa4G2a lnTfVg5gxkvJyE+qM4Qi19Aqsdo2DoumCb25DC9BRLNFH1UJ8SzJZcAE8RHmGQiTODDo gCgc9bRyn/tJ/SY0g8l3O9kOWr3sA213pB1z23j6cRyzs405lazjKJFXHiq41tzRRX8E RqHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0Ecuv5oTlWgBKwPU1gC5kyAkra5gnL2JQVDOfjiQpk8=; b=uRqrvhg1dsbLiG3L164lerf61zPSsLU0YbErmXnWmgTMBVV4S11NRLWStkh27TVnDk 4kLbg2ILA+AMUISPnXJqiObRl5SDmyo7C6oBM4tIIH5iAA8syi0lFm8brRyXHmRp4doz ttEbMg6hIr0/Uy/PtUYbnPUaGSXdjQOBcfmw28y50jlehlUJX1WIXZsJRPQ8heoaKyQS GjdXuCXKO5Vwuk0EOlCnPXF+BhWP708QyeowE4EfXtWL+rqeHSZRkDSWMTEwRZ6inUA4 NWfzLKSYUKdxZCacKQuB4S/HXJXxIW6SDN9I14mGmERK+5WyOBsvTRwTpRi+UHcoqvPe 0h+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si8773285pgr.410.2018.03.05.12.30.46; Mon, 05 Mar 2018 12:31:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753050AbeCEU2M (ORCPT + 99 others); Mon, 5 Mar 2018 15:28:12 -0500 Received: from anholt.net ([50.246.234.109]:48050 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbeCEU2K (ORCPT ); Mon, 5 Mar 2018 15:28:10 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 8B60710A1645; Mon, 5 Mar 2018 12:28:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NE9QNDf0p5Ef; Mon, 5 Mar 2018 12:28:07 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 893AE10A139B; Mon, 5 Mar 2018 12:28:07 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 67E3C2FE2175; Mon, 5 Mar 2018 12:28:06 -0800 (PST) From: Eric Anholt To: Florian Fainelli , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, Greg Kroah-Hartman , Phil Elwell Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH 0/5] VCHI DT bindings Date: Mon, 5 Mar 2018 12:28:01 -0800 Message-Id: <20180305202806.21219-1-eric@anholt.net> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series removes a gross DT property and adds a DT binding for the VCHI driver so that we can start probing it automatically on RPi. This is useful immediately as it lets you use vcgencmd for measuring clocks (we have code for this in Linux but no userland interface). It'll also be useful as a base for getting the consumer drivers to probe automatically, which I'm expecting we'll do using a bus provided by VCHI, since we'll be able to do some service discovery on VCHI. VCHI itself can't just use a bus from the firmware driver, because of the regs and interrupts -- the firmware link it has is just to allow a request to the VPU to bring up VCHI on this hardware doorbell. Greg: I'm good with merging patch 1 whenever, but I'd like to make sure Stefan has a chance to take a look at the cache-line-size property change, at least. Eric Anholt (5): staging: vc04_services: Remove dead FRAGMENTS_T staging: vc04_services: Remove cache-line-size property. dt-bindings: soc: Add a binding for the Broadcom VCHI services. ARM: dts: bcm2835: Add VCHI node to the Raspberry Pi boards. staging: vc04_services: Mark the "DT bindings" job done. .../bindings/soc/bcm/brcm,bcm2835-vchiq.txt | 18 ++++++++++++++++ arch/arm/boot/dts/bcm2835-rpi.dtsi | 7 ++++++ drivers/staging/vc04_services/interface/vchi/TODO | 9 ++------ .../interface/vchiq_arm/vchiq_2835_arm.c | 25 +++++++--------------- .../interface/vchiq_arm/vchiq_pagelist.h | 6 ------ 5 files changed, 35 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt -- 2.16.2