From patchwork Wed Feb 9 08:51:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12739829 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1897EC433EF for ; Wed, 9 Feb 2022 08:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=THVtEG3NdwhIydd15pxS+MoLHmnyDV8lpD6pcdXwfm4=; b=ZBTbhOFZQoZKEf XanL1S08wVrwiFZh3ALlam1Uw8Y7DYMjYcPvu2iy6oIvJPS84rUJOS+EVnZAVWwvaIDwTC97z3Cla AG2XMpcLb1UDu+KITzxJRvI4ziMwnWYHHjtH2MeaE88cP0oTkwtuClilm6v7DsL54IKBjt7olzFvm Xd4OQE6GgMDQK1bdtZdbJhgJm7d5iuzY8nyKRDs3U1oLOvm+77ZXwmusB1oAFVZNuInnG/xI+OVBz Xk35vIriME4LJA+hbuznhucad5ZR1izyULgEPgYqRN1SVG25/AwPwgq1iVEQPOS1bZQ7ZXtrlfJdA dY7cT0dMCQKppRZ+QgJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHiiZ-00GjRq-Jz; Wed, 09 Feb 2022 08:52:51 +0000 Received: from mail-db8eur05on2065.outbound.protection.outlook.com ([40.107.20.65] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHihK-00Gitn-IV; Wed, 09 Feb 2022 08:51:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U66RxE6yQzFLvGwzq9L6H0L5e5nR/IRVbIL1skqVZf8ze43CUPYAzN75tpz87T3fcN36OPUV0KIQF7nnftTTuUTHcMuGqDa9PmcUZU1qqekRu2O2nYJ6B3ulYxXjB97KhS5Nm1+X0BXdjOYYuxIWqrU2ff0OSDpcTONO1w3mLrQxAVAbXwdvGWMzFX/6Jtud3t1pCNX6mMawDy0WJqkk/AOQFDCBIabfUwka+lRSx53MiRtH1AKN3BXMf1T4AUeHInKja+G3IK/j0pFQbqx4tjkE0WqCixAfbR084rE2OZrmdyCI4yGNkpXtfFN2ZE0ALu3ugZL02DgcYJR85gAPsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2suP7M1Va2Ir+ctJZL0kaA1yx080mTOhx9UfUDqQ/dc=; b=gV92Rev3e930wpeXjgBTDHxKqzFq9LgTefaE4ynUuCL5nnkDindOIq21Ev9VngJWWKz9G9+rOE3emaBEOOI930FRh9ySZv+3PypYG91v2gLG8EJ7UlGmBaFSvB30tiA6uSr+WCo6dFaz2F/MTvTSOyJq5KtihdDB/1mv4Nq7draeFfNnYjOEAJvdsbepcOvCobMCwfF9ydRjM1yf9qoSPRRKkSomGwrVml1HeOzkX06jDA6nJBGENygjPT6KFf3QVR5mp6duHismUycV2VTtCAj8nCWt2oCB+pRH+1l05qUi2KD/ZWrdaoXAWRuYCu8nBA1xqp1RFNWTEBCbaPakhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2suP7M1Va2Ir+ctJZL0kaA1yx080mTOhx9UfUDqQ/dc=; b=t4ZqUE5bsgSfkqp4VBOh4D4LrWndl2znTAcejP3qerd137Q/FJrbwDJrgbvrQWYWKN99IW5Xe8qTu2BsPP4o3cDSOXGjOiXNvokylIdVL7GjWowMyjMTs9K8VOJXtkYlltucnMff4+fUwDhiN8OujkLCeVJvSqZleu40yh1wWzA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by VI1PR08MB2927.eurprd08.prod.outlook.com (2603:10a6:802:21::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 08:51:25 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56%3]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 08:51:25 +0000 From: Michael Riesch To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: David Airlie , Daniel Vetter , Rob Herring , Heiko Stuebner , Peter Geis , Nicolas Frattaroli , Michael Riesch , Ezequiel Garcia , Alex Bee , Liang Chen , Sascha Hauer Subject: [PATCH v5 1/5] dt-bindings: gpu: mali-bifrost: describe clocks for the rk356x gpu Date: Wed, 9 Feb 2022 09:51:06 +0100 Message-Id: <20220209085110.3588035-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209085110.3588035-1-michael.riesch@wolfvision.net> References: <20220209085110.3588035-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0072.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::23) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4a78839-0035-4383-1e03-08d9eba95a67 X-MS-TrafficTypeDiagnostic: VI1PR08MB2927:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aujmJEyHFrRCPjyyvdL116c2WOiU9Zyk2Jn38v3fQvxoTQqQ4plqnlWPcqzL3ViSq+o3RoyNZUYeE55pJyUg6vGxjbdcFmyLGvNK++R73PFvXiPQ9RVTmQO/XSsp2GKg29RRhYg63zvFdcl5VSzFMAAxWxjfzkoGGKT8lyX2pCg1oZOQwY3YQj8+Xs1PNu7m9ROPG6ztDREOWq54tmPnXL57XJ3vtktw1N25YS9d74hvSQUMHqkP7Nez6imtAqSzlzt12qJRDa4y/2j9bf+M0P4C/qr5KXKkvQHSncAA1xjdQnUJKfbM5z16EA6ky4CZ9c/PSXlVqLHFxi+zI4yYqbTXNQaqKlx0An6AfjnYBlO65xtfxes26BhUOHnXP4brb7UL8TKXJPMWUpqtvCSe9WBxq6U9cvOCpCycSaesSMLg0LNWjaLTTX4IDKolU4uC58PcfJbl+Fl23k225MfR/R40m7TtqqYc2tLnxc9LaSDd8SuCMSHx0yca39ssLqRPMBGxG6Ngi+HzhtufIxmXff+7UNBJHkgDY0HzypVqEU+P0rrgtjZF58hKLBSlz32jAPMufztJNVqzXSmN5Pgx0MiQpJR+1JjJcSPv4dX9ZW1ztKrwJo8MDbv//LPOJyKRYQEN9Akb/AgdRRSeUIC75Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(54906003)(66556008)(186003)(4326008)(316002)(66476007)(36756003)(6666004)(44832011)(8676002)(66946007)(7416002)(5660300002)(52116002)(6506007)(86362001)(83380400001)(2616005)(1076003)(8936002)(6486002)(508600001)(38100700002)(2906002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Y+mM8shedqmjsrl6jvche8kxJXdI/QnIjBu8R5hK8+dTS9kEZIRJbXT3XGScqEpqlXF0t21+Qtb0pN6/AZRI/p8Zmb3d/Fsr0/8A89TonEIdhHDXgoAWbnojZELvLb6N3I6js3ecwGEG4AdTh3jilaFIRAAlnFmvQdCl4ys+MqkcwGiw1jWkFWOiTBG2ur8j9+Ps6H1JlebxvjDi0xKZRRemyD3rs0rjtt9L2ho+7DceEC5VFG376macjpW49J9EryJjOp6aN0tbWxwAqhCpkho7MZC5THSvpClUpwLtBbp/NbAkcdaXQRE3WLiPW/mgkgY6B9QDbz9wfG2L63J/RrKZU8yfugM0AuG19Qj+aajWpvPrMxhi/YOi1OxZ+3DsZHrFWm84qLm+L/1S1F3QJXRmsVHxxtlGVrgsd3pJObO/WLda4wOo7NawVKhe1/TBxsbbV30wCrlY5Q7Oqo+65tkNEDYCFk0BLyz0yYr0kX2DBE0WRfNm1pw3boSMzRQph1ZZJLIDNeNSSoiqH6NG4GZQ4kpAc4ar7wtWQimF1j1Z7Js5LTOSIQAnL9mSlwD6UP8h4ZUOUoT88U/ZIRk0esJ7JZwKbmHbXqIvcn8GABt0DZPl5Qk8UnVuMGBmj91Rz4I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In5T4k4wAkap/XSDaPmSFF3rh1WFf5gzqQ0tQ7aiG4IeYE= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d4a78839-0035-4383-1e03-08d9eba95a67 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 08:51:25.0374 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zPUJ18d+a7F3/Zy60rDdxojI05zICad/Wy9rVZjIFMUCe9v+HMIjJvxSl85vLmiGjbHTsv3iNM24OqLmKELxqvH79BeqkYIw7OLDILQ2LBM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2927 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_005134_686223_ABC4CF0C X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Alex Bee The Bifrost GPU in Rockchip RK356x SoCs has a core and a bus clock. Reflect this in the SoC specific part of the binding. Signed-off-by: Alex Bee [move the changes to the SoC section] Signed-off-by: Michael Riesch --- .../devicetree/bindings/gpu/arm,mali-bifrost.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 63a08f3f321d..21409c8d3813 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -159,6 +159,21 @@ allOf: power-domains: maxItems: 1 sram-supply: false + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-mali + then: + properties: + clocks: + minItems: 2 + clock-names: + items: + - const: core + - const: bus + required: + - clock-names examples: - |