Received: by 10.223.185.116 with SMTP id b49csp5168333wrg; Wed, 7 Mar 2018 07:23:48 -0800 (PST) X-Google-Smtp-Source: AG47ELsf1Ug2I8YpQGlsQz0ec7USUumzBIgv0rJrnX32852nnlg+sRjYxGErj1bimcVpFKbJVoh+ X-Received: by 2002:a17:902:70c5:: with SMTP id l5-v6mr663849plt.13.1520436228067; Wed, 07 Mar 2018 07:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520436228; cv=none; d=google.com; s=arc-20160816; b=n72ZApT3s5CRxxRxUjGLjBRwxD0PQ9f5mZaMPWgVj8MfsYZ/0UpXoCrVWG9dpov7nD loW6fRMWYVv2VyEiicJI/zhCbPabS3ms9HFX9/G8baNxMwQOx9CsBB10UAlG7eIWkFRJ YbAGdVTMg7JtCyJIhPLoKyfCwx2Y1p4EKN4jpX92zQrm6NmtpxjqsHPFxDdz8dqjTtgs wMLNOA3ZszCQcol4q0VCsTFW8LJ/edMSYTGOqD+5w5XAnzb0jYjRyOpfhgvCkh/ExR3w bNm2vK+5M0+VmRQ4APkYtoNaOMBUeIFIIP3MOtQRzbwpWYHBvzEfpgfNoTA8AFCWoKuv arHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Zq+YV7+P2udHEZFVKq29FJlS2rqEhpSzLstZLG/sOdI=; b=tPjJHtCK9/UGYE1vw150buxI1a9gXKZJsAVW+EchgJ/Hyw4mx5r+mnKneo4ct3HECV h/g75uKaxyJEQAVgyxEnkE5lZhuCGIYde4N2+NB7gNMiHkeG3BvE4IcdQO0maP4nvPLG ao0p7RX/aowjM682oU7C5Q5zhIl3NoZIzVSytXesyJgBkbOYFFGJKS9chCuhzdL4+Z47 ZUE+osOrVo8ILouMg66q2hZzwN6uiD5QuZvr8by+K+6ge5EnjKTzoG7XcuikJE8+aI8n Mc10FHmqnFcOFh1I5A/HPkqt7tWb4xQly8aEA0N9K1h/mXtNjjNNjJOHcIoOa9wCArTx QOoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QMpf+XM9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b92-v6si13022050plb.747.2018.03.07.07.23.32; Wed, 07 Mar 2018 07:23:48 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QMpf+XM9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933706AbeCGPWb (ORCPT + 99 others); Wed, 7 Mar 2018 10:22:31 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:45107 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933351AbeCGPW3 (ORCPT ); Wed, 7 Mar 2018 10:22:29 -0500 Received: by mail-io0-f196.google.com with SMTP id m22so3390675iob.12; Wed, 07 Mar 2018 07:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Zq+YV7+P2udHEZFVKq29FJlS2rqEhpSzLstZLG/sOdI=; b=QMpf+XM9thViSaHkTfzIvUgst2sR1s1aERMJb0hylg3hnRbKpK193Bs6orYp2X5N1Y KQVFxBFK6UX0W/qHdV70m37ZAqUeK57PVb1cP0l26eGm1nZ3Tc4bffOSSqJWnepoyH4D mRP9u/uVRK9WKtKVZCEmhJEYjZDyrUI8h/o+HhjUjqrIlzurs13EgdK+pYFH7GYuwxL6 B8g8pbKKisLSxk/JAm6YvDPbIlzxGQ2a/4NiP44lQf9k8cilQ6jS+cMX7UVtHupY93SW WsU+quOg0WphsUlY80ViRZ6HZy3wogAsFPAsDghJfH8OHojVKw62x+4bK0ptwn83/2gZ Jzqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Zq+YV7+P2udHEZFVKq29FJlS2rqEhpSzLstZLG/sOdI=; b=Fk3oFv2Kjge38QFYhqtJSNUWQVJhuKlSBE+yvOV1XbuuwuMYIwv39ExWvQEyVq/YR7 xagYcmqYe3TdX+QAIaS8aAJe0QYA7rSQEMbpAVB/nes+VqSlnDVr0yQADFXfCuLyLWG6 H9PxrjLb4/aRNDGThkyMloOOUJDD4xnghX0hSjLRY5/iCFQlsPNj6yqBKjMEYuXQxS1n ftP19UDyNVU3Un5Btrd656TLRU0GobO6DrbzZtMXr7W3YaI1QULp7SX0M1m5JgVy/6/H IuRX6o96nzCT7AaPriRZkIzi9BVoMXFt0ZsL3DJ7ERSbkQgbYft5wmSoqyOk4n8cNzEY awqg== X-Gm-Message-State: APf1xPB+DSw4SDAGh7ChG6KF6pDA9RiPsIzbHgP2/onST9ct+TuFKZaz +W8u/iZxU8E/fOcaEkW4USEa4J28Ou/GBCR04Qc= X-Received: by 10.107.200.142 with SMTP id y136mr27953259iof.155.1520436148280; Wed, 07 Mar 2018 07:22:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.89.194 with HTTP; Wed, 7 Mar 2018 07:22:27 -0800 (PST) In-Reply-To: <20180307151025.GP4197@saruman> References: <20170927151527.25570-1-prasannatsmkumar@gmail.com> <20170927151527.25570-4-prasannatsmkumar@gmail.com> <20180306000832.GL4197@saruman> <20180307143541.GN4197@saruman> <20180307151025.GP4197@saruman> From: PrasannaKumar Muralidharan Date: Wed, 7 Mar 2018 20:52:27 +0530 Message-ID: Subject: Re: [RFC 3/4] MIPS: Ingenic: Initial X1000 SoC support To: James Hogan Cc: Rob Herring , Mark Rutland , Ralf Baechle , Michael Turquette , sboyd@codeaurora.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-MIPS , linux-clk@vger.kernel.org, open list , Paul Cercueil , Mathieu Malaterre , Dominik Peklo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7 March 2018 at 20:40, James Hogan wrote: > On Wed, Mar 07, 2018 at 08:35:00PM +0530, PrasannaKumar Muralidharan wrote: >> On 7 March 2018 at 20:05, James Hogan wrote: >> > On Wed, Mar 07, 2018 at 07:14:49PM +0530, PrasannaKumar Muralidharan wrote: >> >> > Does X1000 use a different PRID, or is it basically just a JZ4780 core >> >> > with different SoC peripherals? >> >> >> >> Yes X1000 does have a different PRID (PRID = 0x2ed1024f). X1000 has >> > >> > Right, so thats 0x2e000000 | PRID_COMP_INGENIC_D1 | PRID_IMP_JZRISC | >> > 0x4f, which cpu-probe.c already handles (apparently the D1 company code >> > is used for JZ4770 & JZ4775 too). >> >> Okay. Does this mean I need not modify get_board_mach_type() and >> get_system_type()? > > You still need to modify them, otherwise it won't understand > "ingenic,x1000" compatible string, and will call it a JZ4740 in > /proc/cpuinfo. Oh okay. Will make the changes. >> >> I used to get my code tested from Domink but I could not reach him for >> >> quite some time. Before buying the development board myself I would >> >> like to see if anyone can help me in testing. Do you have any contact >> >> with Ingenic who can help in testing this? >> > >> > Not personally, but I'll ask around. Of course if nobody much cares >> > about it in practice and nobody has the hardware, there may be little >> > value in supporting it upstream. >> >> Seems Jiaxun is interested in the board and is willing to help. > > Okay, cool. > > Cheers > James