Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3326072pxv; Mon, 28 Jun 2021 01:59:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiF8edqaekP7vNtrf5j8nnjuVWFhkG3nIuaQR2G5tufSw4e9dlF8irz2qu/z8JKUrzWRlV X-Received: by 2002:a02:44c6:: with SMTP id o189mr21977286jaa.90.1624870757651; Mon, 28 Jun 2021 01:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624870757; cv=none; d=google.com; s=arc-20160816; b=DL66WH6kUEtWsocBAJ1AiizpAjcpzx3RAfLTaHOJcg04E9AaDah/c9yEdyZs80wgig JZPPE+F5rylETYMPuP8s7iUa+4ZF5qCvbVuOq91s0EQHz/J6Yml0Gwg6Wz2iUA1QAFJF 5LYnH52QuHYS6ABkFB3Jo9X/B2EtZSygE1DKuY/eTEQnjaGDmR1ZUeDmt5XCGo8g8N/H cAxMSIPCu1AZ0LnXz917ZhoIvD+jO79XVHZYFLo7CkL5cjGxSCzP+Qtd51HBh5sUYPPe hPEUnDS1aEJ5Jt6lvPiPDC2FM/rXhh9Ve9EL79+EuUmMaUJBLGstZAS+yU6/8iODQcru WSGw== 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; bh=bXqLoP2FXOdZG3CXN8aleAZhe9QJ9MkT7PLOdMxuHcg=; b=Zl6sj6rcWsLrDVFSKWUkShAiihbgylQGfSCM/lx3N0uPvjozzfd9gzo/FCW7CoYXpw t/ZA59kKSI6hvQW1tU2e86MfCrjvhJWOIn6J3z7/NtXwL6N4B+JfmRb1UULbVLOJ85lj PkvCYN/JRGAGuyUlgbC4Kkur6UBVtH7+r4rRdOqW1Qy7+JO6lsHk+am6aelxKQFfm/hC NuRkqJ3aQRaotkcbEYj+4XdlGruKq7q1bRaXlpMex0GQZxjmYfhb75ofAPu/T/V6XkAk pOnNLd544+7DHsgEPgaQ/auEd+PVZ6+fNuG+BVd6ZXvdQMGpenCHNWrBzpgotB1TW2LG Hgdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si16326499jao.68.2021.06.28.01.59.05; Mon, 28 Jun 2021 01:59:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232329AbhF1I7r (ORCPT + 99 others); Mon, 28 Jun 2021 04:59:47 -0400 Received: from mail-ua1-f48.google.com ([209.85.222.48]:37789 "EHLO mail-ua1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbhF1I7r (ORCPT ); Mon, 28 Jun 2021 04:59:47 -0400 Received: by mail-ua1-f48.google.com with SMTP id f34so6678076uae.4; Mon, 28 Jun 2021 01:57:20 -0700 (PDT) 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=bXqLoP2FXOdZG3CXN8aleAZhe9QJ9MkT7PLOdMxuHcg=; b=c8HKmm/yuEVID70En8VK62wzJsJrJWZMHBHBHWOrwTaADDos9QMeL6qxWT7MXmxahO UUpI/Su5be83X9zAcPVKKijLMazBTQRpqRZnBB0F5PLMrvjxiSbOQeTi/SGnd9rt0mCX /rilyxwaOfj2iT3iRTmjdRzGZ6MlQWQKm3D+bmF2kKXbJmfSv+JpwgMvo1sJzqdNFD+Z STUKsju9yWA2E8SGH4mXuNxdoEYSePLxAxWkeidPtqS6+qQc+OkvcsR3yAxMF7cPKqFZ pMwbV1XUcHhkr0lTDnxKVY2ub0BHk10d+fGtaPCxOtXvRKuRBkloPmRYxLmko4zajCTv s4Nw== X-Gm-Message-State: AOAM533FA2AP3f/7ce4U+iewWwEx3kTkj1ymNUEwx8Cyz/E+QvmIQYjz C/yjky7RpiDGHybFLmCCfCBrMzbMARvfbUbjPqw= X-Received: by 2002:ab0:70b3:: with SMTP id q19mr19550415ual.2.1624870640448; Mon, 28 Jun 2021 01:57:20 -0700 (PDT) MIME-Version: 1.0 References: <20210623133205.GA28589@lst.de> <27c78c11-b230-a5b5-6648-6b93daf6afda@physik.fu-berlin.de> In-Reply-To: <27c78c11-b230-a5b5-6648-6b93daf6afda@physik.fu-berlin.de> From: Geert Uytterhoeven Date: Mon, 28 Jun 2021 10:57:09 +0200 Message-ID: Subject: Re: dma_declare_coherent_memory and SuperH To: John Paul Adrian Glaubitz , Daniel Palmer Cc: Christoph Hellwig , Yoshinori Sato , Rich Felker , Linux-sh list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrian, Daniel, On Sun, Jun 27, 2021 at 10:48 AM John Paul Adrian Glaubitz wrote: > On 6/27/21 5:08 AM, Daniel Palmer wrote: > > On Wed, 23 Jun 2021 at 22:32, Christoph Hellwig wrote > >> I have a vague recollection that you were planning on dropping support > >> for non-devicetree platforms, is that still the case? > > > > Are there any SH4 boards that actually support DT? > > I'm still using an ecovec24 board(SH7724). I'd love to use DT if > > that's possible. > > There is an unmerged patch set by Yoshinori Sato that adds device tree support for SH. But it does not include support for SH7724 yet, only for SH775[01] (note to myself: still have to try it on my landisk). Fortunately most core devices on SH7724 and Ecovec should already have DT support in their drivers. The main missing pieces are interrupt and clock support. The SH7750 INTC seems to be a simpler derivative of the SH7724 INTC. The SH7724 clock controller is very similar to those used on later ARM-based SH/R-Mobile and even R-Car SoCs, so adding support for it to the renesas-cpg-mssr.c driver framework shouldn't be that difficult. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds